![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: An XSLT that does nothing [Thread Next] Re: An XSLT that does nothingTo: NULL Date: 5/4/2004 1:25:00 PM Sarah Haff wrote: >>If doing nothing means copying the source document unchanged then you >>need the identity transformation, see > > This IS what I am looking for. :) > > > >> http://www.w3.org/TR/xslt#copying > > Is this the best (minilistic) was of doing this ? :-/ Not quite, rather it is a good start if you want to copy most of the XML but want to change some nodes, then you can usually start with that identity transformation and add templates for those nodes that you want to change. If really copying is all you need then the template Ben has posted is more minimalistic as it simply copies the document node with all child nodes. -- Martin Honnen http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
