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: Newbie help needed BAD!!!


Matt Coolidge wrote:
> Hi everyone. Man I need help bad...I want to write an xsl that will
> basically copy an xml tree, but allow me to chnage the values of certain
> nodes.

Look in the XSLT 1.0 Recommendation for the "identity transform". It's in
the section on copying nodes, and covers the use of xsl:copy as an
alternative to xsl:copy-of. Add to the identity transform special
templates for just the nodes you want to change.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


 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]