This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: document() revisited, final




  <!-- 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]