Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
XML
Basic XSLT/XSLTC question
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Justine Hlista, post: 771693"] I'm using xalan-j_2_6_0 and trying to get an example from Michael Kay's book to work: <xsl:template match="/"> <xsl:variable name="rainbow"> <color>red</color> <color>blue</color> <color>green</color> </xsl:variable> <xsl:for-each select="$rainbow/color"> <xsl:value-of select="."/> </xsl:for-each> </xsl:template> Both XSLTC and XSLT generate errors when they encounter the XPath expression in the select attribute. I cannot get XSLTC or XSLT to accept any expression that qualifies a variable in a select statement. Am I trying to do something that is strictly forbidden here? Am I misunderstanding what Michael Kay's example was supposed to do? Any help is greatly appreciated!! Justine [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
Basic XSLT/XSLTC question
Top