Xoan wrote:
[...]
It works correctly, but actually, my intention is to apply the format
not to the <xmlcode> element, but another elements inside it. Moreover
I only want to apply this format to the <reportId> elemnts inside
<xmlcode>. It is possible the existence of <reportId> elements outside
<xmlcode>, and I don't want to format them.:
<xmlcode>
<reportId>1</reportId>
</xmlcode>
I've tried with:
<!-- your node -->
<xsl:template match="//xmlcode/reportId">
<b><xsl:copy-of select="."/></b>
</xsl:template>
but it seems not to work.
[...]
Then try
<xsl:template match="//xmlcode/reportId">
<xsl:copy>
<b>
<xsl:apply-templates select="@*|node()"/>
</b>
</xsl:copy>
</xsl:template>
--
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]