Lightweight tree-building (DOM-style) XML parser: parseXmlDocument builds an XmlElement tree, plus parseXmlAttributes and element query helpers, for atlas, plist, and sprite-sheet format files
Lightweight tree-building (DOM-style) XML parser: parseXmlDocument builds an XmlElement tree, plus parseXmlAttributes and element query helpers, for atlas, plist, and sprite-sheet format files
Install
npm install @flighthq/xml
Import the supported application-facing API from @flighthq/xml. The @flighthq/xml/contract export is the wider package-to-package contract used to compose Flight itself.
This package is part of the locked-version Flight SDK graph. Applications may instead install and import @flighthq/sdk when package-level tree shaking is sufficient.
Lightweight tree-building (DOM-style) XML parser: parseXmlDocument builds an XmlElement tree, plus parseXmlAttributes and element query helpers, for atlas, plist, and sprite-sheet format files