Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: I need help with xsl-transformation [Thread Next] Re: I need help with xsl-transformationTo: NULL Date: 12/5/2007 2:18:00 PM Oliver Hirschi wrote: > Could you explain me: > > <xsl:template match="@*|node()"> > <xsl:copy> > <xsl:apply-templates select="@*|node()"/> > </xsl:copy> > </xsl:template> That is the identity transformation template. It processes nodes by copying the node and then processes all attributes followed by all child nodes. If you have only that template then all nodes (in the XSLT/XPath data model) are copied through. As you want to change certain elements you add templates matching those elements and perform the intended transformation (e.g. Source -> Destination), then you make sure using > <xsl:apply-templates select="@*|node()"/> that attributes and child nodes are processed. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
