Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Add child node to a parent node [Thread Next] Re: Add child node to a parent nodeTo: NULL Date: 5/15/2009 9:42:00 AM > <xsl:template match=3D"@* | node()"> > =A0 =A0<xsl:copy> > =A0 =A0 =A0<xsl:apply-templates select=3D"@* | node()"/> > =A0 =A0</xsl:copy> > </xsl:tempate> > > <xsl:template match=3D"parent[@name =3D 'A']"> > =A0 =A0<xsl:copy> > =A0 =A0 =A0<xsl:apply-templates select=3D"@* | node()"/> > =A0 =A0 =A0<child name=3D"A1"/> > =A0 =A0</xsl:copy> > </xsl:template> > > -- > > =A0 =A0 =A0 =A0 Martin Honnen --- MVP XML > =A0 =A0 =A0 =A0http://msmvps.com/blogs/martin_honnen/ Perfect! Thank you! | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
