xsl-list
[Top] [All Lists]

Re: Process some elements, but not others... SOLVED!

2003-02-14 14:16:59
(.... and I wonder why my code doesn't work sometimes... might it be because I fail to _read_???)

Thanks again for the clarifications.

Peace.

On Friday, February 14, 2003, at 02:50  PM, Roger Glover wrote:

Ted Stresen-Reuter wrote:

Thank you! That minor clarification was what I needed to get it.

The only change I made to your suggestion was to add <xsl:copy> to it
as Mike Brown suggested in an earlier message. So here is how the XSL
ended up looking...


Errr... It already *had* an <xsl:copy>, now it has two.

<xsl:template match="@*|node()">
      <xsl:copy>
        ^^^^^^^^^^ 1 (mine)
<xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy>
             ^^^^^^^^^^ 2 (yours)
      </xsl:copy>
</xsl:template>

-- Roger
   glover_roger(_at_)yahoo(_dot_)com



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



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