I have a problem with a small XSLT code that I work with for a client. I can’t change the scheme, because the flash application depends on it, and making any changes will break the ActionScript. It is sad.
This is my first raid on XSLT, and I'm admittedly incompetent with it, so I was hoping the community could help me.
This is the schema (XML file):
<statement title="Click on your Answer" answer="true"> True or False: The question asked is here. <feedback> <answerTrue sound=""> The response if the user answered true is here. </answerTrue> <answerFalse sound=""> The response if the user answered false is here </answerFalse> </feedback> </statement>
When I try to access a “statement” like this (XSLT):
<div id="statement"> <xsl:value-of select="statement" /> </div>
It displays the answerTrue and answerFalse nodes along with it. I would only like to display the text "True or False: Ques ...". If anyone knows a tag that I can use to display instructions without displaying children, I would always be grateful! Thanks!
source share