Subject: Re: [xsl] xml not well-formed From: George Cristian Bina <george@xxxxxxxxxxxxx> Date: Sun, 08 Jan 2006 12:00:41 +0200 |
Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
In the below example, I would like to make the div id = <xsl:value-of select="Location"/>, but this will not work since it is not well-formed xml. Is there any way to reference this node without using an xml element?
Thanks, Dan
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <xsl:for-each select="songlist/song"> <div id="<xsl:value-of select="Location"/>"><xsl:value-of select="Name"/></div> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xml not well-formed, dan | Thread | Re: [xsl] xml not well-formed, dan |
RE: [xsl] apply templates to all at, Tobi Reif | Date | RE: [xsl] xml not well-formed, Michael Kay |
Month |