Skip to content

Documentation / @sw-file-lib/xml / XmlAttributes

Type Alias: XmlAttributes ​

ts
type XmlAttributes = Iterable<readonly [string, XmlAttributeValue]>;

Defined in: packages/xml/src/writer/index.ts:11

An iterable of key-value pairs representing XML attributes.

Used by XmlWriter when writing XML elements with attributes.