jdw22
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by jdw22
-
-
<xsl:variable name="test" select="'ohhi'"/><xsl:variable name="sections" select="/QUERY_MODULE/CRITERIA/SECTIONS"/> <xsl:variable name="sections3"> <xsl:choose> <xsl:when test="$test='ohhi'"><xsl:value-of select="$sections"/></xsl:when> <xsl:otherwise><xsl:value-of select="$sections"/></xsl:otherwise> </xsl:choose></xsl:variable> sections3 and sections should have the same results but they do not. obviously this is pointless code. the original code was not working, so i reduced it to isolate the problem. any help is appreciated
error using choose when/otherwise
in XSLT/XSL-FO
Posted
okay okay okayhere is the deal<value-of select> means just that 'value of'not 'entire node please'there is another way to do an if else then using the choose / when / otherwise.in the future, try not to be so stupid and waste our time. that would be great.