Re: [xsl] Altering specific value then outputing tree AGAIN.....

Subject: Re: [xsl] Altering specific value then outputing tree AGAIN.....
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 13 Jul 2001 16:22:36 +0200 (MET DST)
There was a typo in the answer.
Change

> <xsl:template match="*">
>   <xsl:copy-of select="*"/>
>   <xsl:copy><xsl:apply-templates/></xsl:copy>
> </xsl:template>

into

<xsl:template match="*">
  <xsl:copy-of select="@*"/>  <!-- here -->
  <xsl:copy><xsl:apply-templates/></xsl:copy>
</xsl:template>

This should help,
Oliver

/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


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


Current Thread