RE: [xsl] Finding all occurences of a node

Subject: RE: [xsl] Finding all occurences of a node
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 31 Jan 2001 16:20:42 -0000
> To get everything below <sub1> I am using:
>
> <xsl:template match="child::sub1/child::*">
>    <xsl:copy-of select="."/>
> </xsl:template>
>
> But how can I replace all occurences of <myowntag>?

<xsl:copy-of> can only be used to produce an exact copy. If you want to
produce a modified copy, use <xsl:apply-templates>

Mike Kay


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


Current Thread