examples/input_output/xmlExample/README.md
This example demonstrates how to read and write an xml file to the file system leveraging ofXML.
In the code, pay attention to:
Use ofXML to read an xml file from the file system with XML.load("mySettings.xml")
Writing an xml file to the file system with XML.save("mySettings.xml")
Adding childNodes to the xml with XML.addChild and appending with XML.addXML
Parsing and traversing XML with XML.exists(), XML.getValue(), XML.setToSibling(),XML.setToParent(), XML.setTo(),XML.getName()
When launching this app for the first time, you will see a screen with:
When the mouse is pressed, the application :
When the key s is pressed:
data\mySetttings.xml file.Instructions for use:
s to save the xml file of the current state to a local xml fileThis Example uses no other classes.