hi just a quick question,
<xsl:value-of select="self::node()"/> I have been using this line and i pressumed that it would only 'print' the text within a particular tag e.g.
I then have the following lines in my xsl:
I presummed that <xsl:value-of select="self::node()"/> would only 'print' the value of subquestion tag and the contents in the point tag would be left and dealt with in the point template in my xsl;
However this is not the case for some reason it 'prints' of the contents in the point tags aswell.
Could anyone point me in the right direction as im not sure if it something im doing wrong or if this is the wrong command to use.
thanks in advance
Rakesh
<xsl:value-of select="self::node()"/> I have been using this line and i pressumed that it would only 'print' the text within a particular tag e.g.
Code:
<SUBQUESTION marks="10">Prompts the user to make a choice as to which Circuit parameters are to be supplied, the input
for this choice being a single character as specified below
<POINT>C indicates that the generator is a current source</POINT>
<POINT>V indicates that the generator is a Voltage source</POINT>
<POINT>Q is used to exit the program</POINT>
</SUBQUESTION>
Code:
<xsl:template match="SUBQUESTION">
<xsl:value-of select="self::node()"/>
<xsl:apply-templates select = "POINT"/>
</xsl:template>
However this is not the case for some reason it 'prints' of the contents in the point tags aswell.
Could anyone point me in the right direction as im not sure if it something im doing wrong or if this is the wrong command to use.
thanks in advance
Rakesh