OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Need Help: Parsing XMLfile to DOM in java

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Need Help: Parsing XMLfile to DOM in java
  • From: Kranti Parisa <kranti.j2ee@gmail.com>
  • Date: Fri, 15 Oct 2004 13:46:28 +0530
  • Domainkey-signature: a=rsa-sha1; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=nIeOHt8WeePV9Y8AmefxPEAE4V/PvQo3GRFSb6gS9REkyHW1EFdIOLcbAG6uU9Se6fVy6dx5ZeERC67cchVhiU4jNNxLMxXuC++w80YBV5bZmp+LOmXyXh2xMnUv4QVhHy9nqlwgmS1myZCgCkTdKLfxkeQeE9+tQ44UurcYMSY
  • Reply-to: Kranti Parisa <kranti.j2ee@gmail.com>

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS