# renderAttributes method

String renderAttributes()

Renders the attributes of the node into "attr1="value" attr2=...".

## Implementation

    String renderAttributes() {
      return attributes.keys.map((String key) {
        final dynamic value = attributes[key];
        assert(
          value is String || value is int,
          'XML values must either be string or int',
        );
        if (value is String) {
          return "$key='$value'";
        } else {
          return '$key=$value';
        }
      }).join(' ');
    }