Subject: Re: From: Conor Ryan <cryan@xxxxxxx> Date: Thu, 30 Nov 2000 10:19:52 +0000 |
Hi Monica, This works. xml file <?xml version = "1.0"?> <?xml-stylesheet href="account.xsl" type="text/xsl" ?> <page> <accounts> <account_list> anil anita </account_list> </accounts> </page> xsl stylesheet: <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="page"> <html><head><title>list</title></head> <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:value-of select = "account_list"/> <hr color="666699" align="left" width="415"></hr> <table> <tr> <td bgcolor="silver"> <a href="changepassword">Change Password</a> </td> </tr> </table> </xsl:template> </xsl:stylesheet> --------- Conor Ryan, XML Workshop Ltd, 10 Greenmount Industrial Estate, Harolds Cross, Dublin 12, IRELAND. Email: cryan@xxxxxxx Phone: +353 1 4547811; Fax: +353 1 4731626 Web: http://www.xmlw.ie/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re:, Naresh Shah | Thread | XPath and XSLT processor, Ayelet Kotzer |
RE:, Kay Michael | Date | scanning a tree, Shlomi Sarfati |
Month |