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]

copying source tree


Shouldn't the following copy source to the result tree?

<xsl:template match="@*|node()" >
   <xsl:apply-templates
    select = "@*|node()"/>
</xsl:template>
<xsl:template match="/">
        <xsl:apply-templates select="*" />
</xsl:template>

I want to make changes only to a node in the
source tree by matching in the second template.
This one does not seem to copy the source tree.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


 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]