tafazzi87 Posted May 30, 2013 Share Posted May 30, 2013 hi i've this problem...i write this code in xml and a xsl stylesheet. firefox give me this error: Error loading stylesheet : parsing an XSLT stylesheet failed. xsl:http://pastebin.com/8mjLY7SP xml:http://pastebin.com/2KdBUn5p problem for me is for xsl:choose but i've try to edit this many times but it doesn't work...how can i fix it? Link to comment Share on other sites More sharing options...
Martin Honnen Posted May 30, 2013 Share Posted May 30, 2013 Use the "test" attribute on xsl: when, not the "select" attribute <xsl:when test="nomeaula/@aula='RED'"></xsl:when> See http://www.w3.org/TR/xslt#section-Conditional-Processing-with-xsl:choose for the syntax. Link to comment Share on other sites More sharing options...
tafazzi87 Posted May 30, 2013 Author Share Posted May 30, 2013 Use the "test" attribute on xsl: when, not the "select" attribute<xsl:when test="nomeaula/@aula='RED'"></xsl:when> See http://www.w3.org/TR...with-xsl:choose for the syntax. oh sorry you're right.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now