Re: document() revisited, final

Subject: Re: document() revisited, final
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 18 Feb 2000 11:49:45 GMT

  <!-- Get attributes -->   
   <xsl:template name="copy.all.attrib">
    <xsl:for-each select="@*">
     <xsl:copy/>
    </xsl:for-each>
   </xsl:template>  


despite the fact that it's rather hidden in the xslt spec, a simpler way
to do this is

<xsl:copy-of select="@*" />

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread