manishi Posted September 27, 2006 Share Posted September 27, 2006 What will be displayed from the following XSLT? <![CDATA[ <xsl:variable name="x" select="-7"/> <xsl:value-of select="( 1 - 2 *( $x < 0 )) * $x "/> ]]> A.-7 because the value of the xsl:variable x cannot be changed once assigned. B.0 due to the evaluation of the nested Boolean expression to false. C.7 due to the evaluation of the nested Boolean expression to true. D.Everything between the inner square brackets.I was thinking of answer "D". 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