[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [no subject]
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|