freelanceprogrammers.org Forum Index » XML / XSL

Displaying xml data


View user's profile Post To page top
aadlene_wesley Posted: Tue Jul 12, 2005 9:17 pm


Joined: 03 Jun 2005

Posts: 3
Displaying xml data
hi Everyone

I am new to this group. i have some problems with displaying data as
four columns. i am using XSLT to format the data stored in XML File
and to display it in IE.

eg:


<NewDataSet>
<ReturnedData>
<fldGroup>151 - 160</fldGroup>
<CaratDesc>18W Blank</CaratDesc>
<fldPrice>4.6300</fldPrice>
</ReturnedData>
<ReturnedData>
<fldGroup>151 - 160</fldGroup>
<CaratDesc>18W Casting</CaratDesc>
<fldPrice>6.0700</fldPrice>
</ReturnedData>
<ReturnedData>
<fldGroup>151 - 160</fldGroup>
<CaratDesc>18W Wire</CaratDesc>
<fldPrice>5.0500</fldPrice>
</ReturnedData>
<ReturnedData>
<fldGroup>151 - 160</fldGroup>
<CaratDesc>18Y Blank</CaratDesc>
<fldPrice>147.0000</fldPrice>
</ReturnedData>
<ReturnedData>
<fldGroup>151 - 160</fldGroup>
<CaratDesc>18Y Casting</CaratDesc>
<fldPrice>2.9700</fldPrice>
</ReturnedData>
<ReturnedData>
<fldGroup>151 - 160</fldGroup>
<CaratDesc>18Y Wire</CaratDesc>
<fldPrice>4.4200</fldPrice>
</ReturnedData>
<ReturnedData>
<fldGroup>151 - 160</fldGroup>
<CaratDesc>18YW Blank</CaratDesc>
<fldPrice>0</fldPrice>
</ReturnedData>

and my Output must be:


151 - 160 151 - 160 151 - 160 151 - 160
18W Blank 18W Casting 18W Wire 18Y Blank
4.6300 6.0700 5.0500 147.0000

151 - 160 151 - 160 151 - 160
18Y Casting 18Y Wire 18YW Blank
2.9700 4.4200 0


the Problem lies in the point how can i select the data to display
it in correct positions and then go back to the left most again
start with the 5 record. if any one can come with a solution plz let
me know
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help