← Prev in month ← Prev in thread

Need Help: Parsing XMLfile to DOM in java

From
Kranti Parisa <>
To
Date
2004-10-15T08:16:28Z
ID
<>
Thread
Need Help: Parsing XMLfile to DOM in java
Hi all,
i have a problem...

iam having a xml file having the following structure..

i need to convert this xml file to HTML file having the table of information..

so plz help me out...

<ROOT>
  <ROW Name="Product Name~B" CheckBox="" Type="PerformanceNormal"
Count="1" ChildCount="1" Show="Y" Refine="B">
     <COL Page="0" Image="" ProductID=""/>
     <COL Page="1" Image="" ProductID="3">Sainsbury's aromatherapy
citrus mint</COL>
     <COL Page="1" Image="" ProductID="4">TestPerf</COL>
     <COL Page="1" Image="" ProductID="5">TestPerf001</COL>
     <COL Page="1" Image="" ProductID="24">Ashraf Product</COL>
     <COL Page="2" Image="" ProductID="25">Acb</COL>
  </ROW>
  <ROW Name="Region~H" CheckBox="" Type="PerformanceNormal" Count="2"
ChildCount="1" Show="Y" Refine="H">
     <COL Page="0" Image="" ProductID=""/>
     <COL Page="1" Image="" ProductID="3">Western Europe</COL>
     <COL Page="1" Image="" ProductID="4">Western Europe</COL>
     <COL Page="1" Image="" ProductID="5">Western Europe</COL>
     <COL Page="1" Image="" ProductID="24">Central and Eastern Europe</COL>
     <COL Page="2" Image="" ProductID="25">Central and Eastern Europe</COL>
  </ROW>
  <ROW Name="Country~H" CheckBox="" Type="PerformanceNormal"
Count="3" ChildCount="1" Show="Y" Refine="H">
     <COL Page="0" Image="" ProductID=""/>
     <COL Page="1" Image="" ProductID="3">United Kingdom</COL>
     <COL Page="1" Image="" ProductID="4">Belgium</COL>
     <COL Page="1" Image="" ProductID="5">Belgium</COL>
     <COL Page="1" Image="" ProductID="24">Czech Republic</COL>
     <COL Page="2" Image="" ProductID="25">Czech Republic</COL>
  </ROW>
</ROOT>

TIA,
Kranti
← Prev in month ← Prev in thread