xsl-list
[Top] [All Lists]

RE: Creating a XSL to return the input

2003-03-05 10:17:06
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(_at_)mhk(_dot_)me(_dot_)uk]
Sent: Tuesday, March 04, 2003 4:54 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>