You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kranti Parisa <kr...@gmail.com> on 2004/10/15 06:45:07 UTC
Need Help: XML to HTML using 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
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org