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: Altering specific value then outputing tree AGAIN.....


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@informatik.hu-berlin.de             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


 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]