RE: [xsl] Creating a XSL to return the input

Subject: RE: [xsl] Creating a XSL to return the input
From: "Holbrook, R Cody (Cody)" <rch7@xxxxxxxxx>
Date: Wed, 5 Mar 2003 10:17:06 -0700
Maybe I'm approaching this wrong, but I'm interested in taking multiple XSD files that have <xsd:documentation> Description of event </xsd:documentation> and creating XSDs with documentation.  I should have more carefully described the task.  An email yesterday, "Creating an XSL to return input" had enough of what I needed.  Eventually, I will try to do this:

javadoc.xml through XSLT to create XSLT
XSD through created XSLT to create XSD documentation

-----Original Message-----
From: Michael Kay [mailto:mhk@xxxxxxxxx]
Sent: Tuesday, March 04, 2003 4:54 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Creating a XSL to return the input


> I would like to create an XSL that takes an XML file and 
> returns it as its 
> output. Is that easy to do?
> 
Dead easy:

<xsl:template match="/"><xsl:copy-of select="."/></xsl:template>

But why on earth would you want to do this?

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread