|
Posted by Jasbird on 12/01/07 19:55
On Tue, 27 Nov 2007 20:22:04 -0800 (PST), raphit42@gmail.com wrote:
>On Nov 27, 10:04 pm, Pradeep <juneja.prad...@gmail.com> wrote:
>> When using CSS to display an XML file as a table, is there a way to
>> show the element names at the tops of the columns as headers?
>>
>> For Example :
>> I have a XML file
>> <ITEMLIST>
>> <ITEM>
>> <NAME> Item1 </ITEM>
>> <PRICE> 500 </PRICE>
>> <QTY> 10 </QTY>
>> </ITEM>
>> <ITEM>
>> <NAME> Item2 </ITEM>
>> <PRICE> 600 </PRICE>
>> <QTY> 20 </QTY>
>> </ITEM>
>> <ITEM>
>> <NAME> Item3 </ITEM>
>> <PRICE> 700 </PRICE>
>> <QTY> 25 </QTY>
>> </ITEM>
>> <ITEM>
>> <NAME> Item4 </ITEM>
>> <PRICE> 900 </PRICE>
>> <QTY> 90 </QTY>
>> </ITEM>
>> </ITEMLIST>
>>
>> and the output which I want is
>>
>> ------------------------
>> | | PRICE | QTY |
>> ------------------------
>> Item1 | 500 | 10 |
>> ------------------------
>> Item1 | 600 | 20 |
>> ------------------------
>> Item1 | 700 | 25 |
>> ------------------------
>> Item1 | 900 | 90 |
>> ------------------------
>
>yea, i want to know that too.
>
>www.2learnknowledge.com
Why why are you spamming this forum with your url:
www.2learnknowledge.com. It is not a good idea to spam a forum like this
which is full of people who know how the internet works because each
time you do so, someone may point out and your website
www.2learnknowledge.com is being spammed around usernet.
If you want to continue getting away with sending spam and pimping your
site you should keep your spam from www.2learnknowledge.com as far away
from web developers as possible with.
[Back to original message]
|