Hi Rajeev
Thank You, its working
Regards
Vijaya Kumar
-----Original Message-----
From: Sachdeva, Rajeev [mailto:SachdevaR(_at_)logica(_dot_)com]
Sent: Wednesday, January 08, 2003 4:58 PM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
Subject: RE: [xsl] Binding XML to HTML
try this
<table datasrc="#xmlRoot" datafld="Column1">
instead of
<table datasrc=#xmlRoot>
Rajeev
-----Original Message-----
From: Vijaya Kumar Y [mailto:vijayay(_at_)aztec(_dot_)soft(_dot_)net]
Sent: Wednesday, January 08, 2003 11:05 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Binding XML to HTML
How to bind the following XML to the HTML table for the fields Name and
Value field
I have an XMl as follows
<Root>
<root>
<Column1 Name ="vijay" Value="4444"/>
<Column1 Name ="Siva kumar" Value="4444"/>
<Column1 Name ="rad" Value="4444"/>
</root>
</Root>
this XMl needs to binded to HTML using XML-DSO.
i tried the folllowing thing , it did not work.
<HTML><HEAD></HEAD><TITLE></TITLE>
<BODY>
<XML ID="xmlRoot">
<Root>
<root>
<Column1 Name ="vijay" Value="4444"/>
<Column1 Name ="Siva kumar" Value="4444"/>
<Column1 Name ="rad" Value="4444"/>
</root>
</Root>
</XML>
<table datasrc=#xmlRoot>
<tr>
<td><div datafld="name"></div></td>
<td><div datafld="Value"></div></td>
</tr>
</table>
</BODY>
</HTML>
The above XML file should not be changed.
i tried the above Format to work , but it does not display anything
Any help is greatly appreciated
Regards
Vijay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list