1 <?xml version="1.0"?> 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 3 4 <!-- Filename: EmbeddedRelative.xsl --> 5 <xsl:template match="/list"> 6 <embedded-relative-level2> 7 <xsl:apply-templates select="@*|node()"/> 8 </embedded-relative-level2> 9 </xsl:template> 10 11 <xsl:template match="item"> 12 <xsl:copy> 13 <xsl:apply-templates select="@*|node()"/> 14 </xsl:copy> 15 </xsl:template> 16 17 </xsl:stylesheet>