[no subject]

Subject:
From: "Monica Gupta" <monica@xxxxxxxx>
Date: Wed, 29 Nov 2000 12:01:14 -0800
Hi,

I am trying to merge xml and xsl. But my data is getting displayed at the
end of page.

output is:

accounts
_________
__________
Change Password
anil anita

whereas I am expecting it to come like:

accounts
_________
anil anita
__________
Change Password

xml file :


<?xml version = "1.0"?>
<?xml-stylesheet href="list.xsl" type="text/xsl" ?>
<page>
<accounts>
<account_list>
   anil
   anita
</accounts_list>
</accounts>
</page>

xsl file :


<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:template match="page5">
<html><head><title>list</title>
<body>
<table><tr><td>accounts</td></tr></table>
<hr color="666699" align="left" width="415"></hr>

<xsl:apply-templates/>
</body>
</html>
</xsl:template>

<xsl:template match="accounts">
<xsl:for-each select = "accounts_list">
<xsl:value-of select = "accounts_list">
</xsl:for-each>
<hr color="666699" align="left" width="415"></hr>
<table>
<tr>
<td bgcolor="silver">
<a href="changepassword">Change Password</a>
</td>
</tr>
</table>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread