Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: I need to copy XML with one change to an attribute >Thread Next - Re: I need to copy XML with one change to an attribute Re: I need to copy XML with one change to an attributeTo: NULL Date: 9/1/2008 1:05:00 PM
Martin Honnen wrote:
> <xsl:template match="eanucc:despatchAdvice/@documentStatus">
> <xsl:attribute name="{name()}"
> namespace="{namespace-uri()}">TEST</xsl:attribute>
> </xsl:template>
<xsl:template match="eanucc:despatchAdvice/@documentStatus[. =
'ACCEPTANCE']">
<xsl:attribute name="{name()}"
namespace="{namespace-uri()}">TEST</xsl:attribute>
</xsl:template>
is closed to what you described.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
