xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: sarika ture <sarika.ture AT gmail.com>
- To: XOM forum <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] How it parses the XML File
- Date: Thu, 10 Feb 2005 14:03:03 +0530
Hi all
I want to know the parsing sequence of XML File using XOM parser
I have XML file,
- <mdc>
- <md>
- <mi>
<mts>2005-01-28 06:45:00</mts>
<gp>300</gp>
<rsf>false</rsf>
- <ms>
<msn>CardStat</msn>
<sf>false</sf>
<es>false</es>
<mt p="0">card</mt>
<mt p="1">cpubusy</mt>
<mt p="2">cpuidle</mt>
<mt p="3">numproc</mt>
<mt p="4">memused</mt>
<mt p="5">memtotal</mt>
- <mv>
<moid>card=1</moid>
<r p="0">1</r>
<r p="1">0.15</r>
<r p="2">99.85</r> /* prints at position 5 while execution*/
<r p="3">139</r>
<r p="4">766240</r>
<r p="5">4194304</r>
</mv>
- <mv>
<moid>card=4</moid>
<r p="0">4</r>
<r p="1">0.3</r>
<r p="2">99.7</r> /* prints at position 3 while execution*/
<r p="3">118</r>
<r p="4">563448</r>
<r p="5">4194304</r>
</mv>
</ms>
</mi>
</md>
</mdc>
Program is printing the random 'mv' tuple values not in sequence,
5 at first 2 at third likewise
can anybody tell me the sequence of tracing elements / reason of the
above problem
bye
-
[XOM-interest] How it parses the XML File,
sarika ture, 02/10/2005
- Re: [XOM-interest] How it parses the XML File, Elliotte Harold, 02/10/2005
Archive powered by MHonArc 2.6.24.