YedXml object
YedXml object allows
to load into memory and scan XML files or buffers. It can be used to create and/or load simple XML
files or buffers in an application, and then navigate the tree and perform specific tasks.
YedXml handles XML declaration tag and XML
contents, but does not handle XML entity and does not perform
validation of XML buffers.
YedXml public methods are:
- Get_XML_Buffer: loads
XML file into memory and prepares XML buffer scanning.
- Set_XML_Buffer: loads XML buffer into memory and prepares XML buffer scanning.
- Get_XML_Declaration: returns
XML declaration content, if present in XML
file.
- Load_Tree: loads
XML buffer in a memory tree.
- Enum_Element: counts
number of XML elements having the same tag.
- Find_Element: finds
and returns an XML element.
- Display_Tree: sends
XML tree to stdout
- Get_Element_Attribute: gets
attribute value from an XML element.
- Navigate_And_Run: navigates XML tree and runs a user function with any XML element.
- Add_Element: adds an XML element into the tree.
- Delete_Element: deletes an XML element from the tree.
http://yed.sourceforge.net