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: Finding all occurences of a node


> 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


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