RE: [xsl] Re: XSL to ODF/OOXML

Subject: RE: [xsl] Re: XSL to ODF/OOXML
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 25 Oct 2007 22:53:29 +0100
> this stylesheet:
> 
> <stylesheet version="1.0" 
> xmlns="http://www.w3.org/1999/XSL/Transform";>
>   <template match="@*|node()">
>     <copy>
>       <apply-templates select="@*|node()"/>
>     </copy>
>   </template>
> </stylesheet>

Or more simply

<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform";>
  <template match="/"><copy-of select="."/></template>
</stylesheet>

Michael Kay
http://www.saxonica.com/

Current Thread