I have a large XML file, about 50 megabytes, and I'm trying to use the OmniXML library to manage an XML document.
I did not understand the demo in OmniXML ...
The XML file has the following structure:
<rollercoaster build="0.1 (Dec 30 2010)" debug="no">
<settings name="roller coaster" sourcefile="rolcost.pas">
<description>Roller Coaster admin function</description>
<year>2010</year>
<manufacturer>ArtTeck</manufacturer>
<sears name="sears.uk" size="1024" mda="87117ba5082cd7a615b4ec7c02dd819" region="england" set1="25d"/>
<sears name="sears.dk" size="1056" mda="326dbbf94c6fa2e96613dedb53702f8" region="denmark" set1="25d"/>
<sears name="sears.gr" size="6802" mda="01b4c38108d9dc4e48da4f8d5821377" region="greece" set1="65d"/>
</settings>
<settings name="roller coaster2" sourcefile="rolcost2.pas">
<description>Roller Coaster user function</description>
<year>2010</year>
<manufacturer>ArtTeck</manufacturer>
</settings>...... and goes on
</rollercoaster>
What I want to know is:
- How to make a loop display nodes and child nodes in a StringGrid.
- How to get data from one node (for debugging purposes).
- How can I select its child element node settings node?
- How can I take a list of the same node and how to separate the "sears" node? ...?
source
share