Search code examples
haxeopenfl

How to read XML Attributes in Haxe?


How can I read a XML attribute from a XML file in Haxe? This is my XML file:

<scene>
    <page image="0.png" text="Hello"/>
    <page image="1.png" text="Goodbye"/>
</scene>

Thanks for all answers!


Solution

  • You could use Access API to access to the most common Xml methods.