[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Binding XML to HTML


Subject: [xsl] Binding XML to HTML
From: Vijaya Kumar Y <vijayay@xxxxxxxxxxxxxx>
Date: Wed, 8 Jan 2003 16:34:35 +0530

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



Current Thread
Keywords
xml