Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - An XSLT that does nothing >Thread Next - Re: An XSLT that does nothing Re: An XSLT that does nothingTo: NULL Date: 5/3/2004 1:08:00 PM Sarah Haff wrote: > What would be minimilistic XSLT that does "nothing" (no > transformation) to the given XML content. An empty template for the document root node should do nothing <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/" /> </xsl:stylesheet> in the sense that it outputs nothing. If doing nothing means copying the source document unchanged then you need the identity transformation, see http://www.w3.org/TR/xslt#copying -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
