get tag name
Hi:
I Have some text like:
<node> <i>test intermediate</i> test yahoo <b>finance</b></node>
Here are the my processing templates:
<xsl:template match="b|B|strong|STRONG">
<strong><xsl:apply-templates/></strong>
</xsl:template>
<xsl:template match="i|I">
<i><xsl:apply-templates/></i>
</xsl:template>
<xsl:template match="text()">
<xsl:copy-of select="."/>
</xsl:template>
When i do process the text node, How can i get surronding node name? ( ex: when text node prcess...test intermediate..i want to get node name i.)
Thanks,
pendyala
|