Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - attribute manipulation in XSLT transformation [Thread Next] Re: attribute manipulation in XSLT transformationTo: NULL Date: 2/3/2006 5:41:00 PM Add this template:-
<xsl:template match="School[not(@district)]">
<xsl:copy>
<xsl:attribute name="district">NY</xsl:attribute>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>
Now any school not having a district attribute will be picked up by this
template.
Anthony.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
