Sorry to ask this. I'm new at creating XSLT's, and I just want to get this simple task to work.
I've rewritten my "XML" and "XSLT" in really dumbed down, simple structure below. My Question follows...
Here's my XML:
<examview>
<question>
<text>
This is a question.
<data>19903</data>
</text>
</question>
</examview>
Here is my XSLT:
<xsl:template match="examview">
<html>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="question">
<xsl:value-of select="text"/>
</xsl:template>
Here is my Question:
Upon output, I get:
"This is a question.19903"
How do I get it so that only "This is a question." will be output, and the information within <data> ("19903"
does not get output?
Thanks, and I know this is a complete newb question - but I just want to get on the right track here.
Jeff
Here's my XML:
<examview>
<question>
<text>
This is a question.
<data>19903</data>
</text>
</question>
</examview>
Here is my XSLT:
<xsl:template match="examview">
<html>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="question">
<xsl:value-of select="text"/>
</xsl:template>
Here is my Question:
Upon output, I get:
"This is a question.19903"
How do I get it so that only "This is a question." will be output, and the information within <data> ("19903"
Thanks, and I know this is a complete newb question - but I just want to get on the right track here.
Jeff