[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] insert to copied node
Subject: Re: [xsl] insert to copied node From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 19 Mar 2009 23:15:38 GMT |
If you want to modify the contents of an element then you don't want to copy it (as copies have the same structure as the original) you need to apply templates. Start with the identity template which does a shallow copy of each node, then applies templates to child nodes, then add a template to modify whatever you need to modify. there are numerous examples of this in the faq and archives of this list. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] insert to copied node, Michael Kay | Thread | Re: [xsl] insert to copied node, Michalmas |
RE: [xsl] insert to copied node, Michael Kay | Date | RE: [xsl] Display link text as a hy, Michael Kay |
Month |