how to exclude elements in the result tree output
Hi everyone,
I am a new student learning XSLT. I have a question on how to exclude elements in the output destination when I use call-template
Followed is an example. How do I call template "a" without having the <block1>...<block2> printed out in the result tree?
------------------------------------
<xsl:template name="a">
<block1>
....
</block1>
</xsl:template>
<xsl:template match="b">
<block2>
<xsl:call-template name="a">
...
</block2>
</xsl:template>
----------------------------------------
Thank you,
Emily
|