RE: [xsl] create XSLT from XML or XSD

Subject: RE: [xsl] create XSLT from XML or XSD
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 27 Jul 2008 23:40:11 +0100
> This is a very basic implementation which simply creates a 
> XSLT stub template for each element declared in your schema 
> (XSD).  It does not cater for elements with the same name in 
> different scope, but can be easily modified to do so.

It also doesn't cater for xs:include or xs:import or for schema documents
that have a targetNamespace. 

And I think it would be more helpful to generate stubs that do the same as
the default template rule, that is, to invoke xsl:apply-templates.

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

Current Thread