Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Identity transform on node-set loaded with document() [Thread Next] Re: [xsl] Identity transform on node-set loaded with document()To: Date: 8/2/2007 3:34:00 AM I think xsl:copy & xsl:copy-of might work for you. You could also try to use xsl:for-each or xsl:apply-templates to meet some of your requirements. On 8/2/07, Matt Poff <matt.poff@xxxxxxxxxxxxxxx> wrote: > Hi, > > I've been away from XSLT a while and am stumbling on how to implement > the following: > > My transform imports, using document(), an HTML snippet contain a > populated <head></head> tag. I want to copy this into one of several > result trees I am outputting as is *except* the <title/> tag needs to > be populated with a value. > > Initially I created a named template and sent the loaded node-set to it, > then realised I probably needed an identity transform but all of the > identity transform examples I've found seem to be set-up to operate on > the master document only. What's the best way to carry out this task? > Can I do an identity transform with a named template? > > I'm sure there's a fairly simple solution but it's passing me by. > > Thanks, > Matt -- Regards, Mukul Gandhi | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
