![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - XSLT: Moving node in document >Thread Next - Re: XSLT: Moving node in document Re: XSLT: Moving node in documentTo: NULL Date: 4/1/2005 12:09:00 AM mostly you want to copy <xsl:template match="*"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> but you want to lose id 5 <xsl:template match="node[@id='5']"/> and you want it to appear again in id 2 <xsl:template match="node[@id='2']"> <xsl:copy> <xsl:copy-of select="@*|//node[@id='5']"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> David | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
