RE: [xsl] Most meaningful design documents for xslt?

Subject: RE: [xsl] Most meaningful design documents for xslt?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 17 Apr 2007 12:41:01 +0100
> I use mostly XML Schema, and I am very 
> lucky to have an internal tool generating usable HTML 
> documentation 
> from a set of XML Schema files.
...
> My impression is that it would be very feasible, if not 
> straightforward, to develop such a tool based on a 
> Schema-Aware XSLT processor. 

It's very easy to write XSLT stylesheets to process your in-house XML Schema
documents, because you know what subset of the XML Schema language they use.
It's several orders of magnitude harder to write XSLT code that will handle
any arbitrary XML Schema document, regardless of the facilities it uses and
the coding conventions it adopts.

The next Saxon release (probably not due for a few months) will contain a
tool that dumps out an XML representation of the schema component model
produced after schema analysis. This should be very much more amenable to
XSLT processing because it makes all the components and their properties and
relationships explicit.

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

Current Thread