Jump to content

jdw22

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by jdw22

  1. 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.
  2. <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
×
×
  • Create New...