G
George Bina
Hi,
What do you mean by "getting attibute"?
If you want the myattr value you can use
<xsl:template match="tag">
<xsl:value-of select="@myattr"/>
</xs;:template>
If you want the attribute itself then you can use xsl:copy-of to copy
that to some element you create in the output, something like:
<xsl:template match="tag">
<newTag><xsl:copy-of select="@myattr"/></newTag>
</xs;:template>
Best Regards,
George
What do you mean by "getting attibute"?
If you want the myattr value you can use
<xsl:template match="tag">
<xsl:value-of select="@myattr"/>
</xs;:template>
If you want the attribute itself then you can use xsl:copy-of to copy
that to some element you create in the output, something like:
<xsl:template match="tag">
<newTag><xsl:copy-of select="@myattr"/></newTag>
</xs;:template>
Best Regards,
George