Subject: Re: [xsl] replacing nodes during xsl:copy-of From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Wed, 5 Jan 2011 09:28:02 +0000 |
On 5 January 2011 09:22, Mark Anderson <mark.anderson@xxxxxxxxxxxxxxxxx> wrote: > Hi All > > Stuck on a problem trying to copy a nodeset and replace one specific node. > > I have something like this in my XML > > <clause name="Expenses"> > <text>the reasonable expenses incurred by the Company and approved by the Customer in providing the Services described herein, including but not limited to travel expenses between the Company's <replace id="local_office">Leeds (UK)</replace>offices and the Customer's offices</text> > </clause> hi, Process <clause> using the identity template (possibly with a mode) and then use a specific template for <replace>. If you aren't sure about the terms, google them as this is a standard technique. cheers andrew -- Andrew Welch http://andrewjwelch.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] replacing nodes during xs, Michael Kay | Thread | [xsl] replacing nodes during xsl:co, Mark Anderson |
Re: [xsl] replacing nodes during xs, Michael Kay | Date | Re: [xsl] Capture Range of Document, Brandon Ibach |
Month |