MXHX XML Parser
A specialized XML parser for the MXHX markup language (but would work with any type of XML) that returns a tree of units that represent the syntax, but not the semantics, of the document. Units in the generated result include open tags, close tags, attributes, and text content. Reports errors when the MXHX syntax is invalid, but also supports "repairing" the tree — allowing for real-time code intelligence in developer MXHX tooling, such as editors and IDEs.
A separate library, such as mxhx-component or mxhx-runtime-component, is required to assign meaning to each tag, attribute, or block of text.
Minimum Requirements
- Haxe 4.0
Installation
This library is not yet available on Haxelib, so you'll need to install it from Github.
haxelib install mxhx-xml-parser
Project Configuration
After installing the library above, add it to your Haxe .hxml file.
--library mxhx-xml-parser
For Lime and OpenFL, add it to your project.xml file.
<haxelib name="mxhx-xml-parser" />