[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Schema fragments form style sheets?
- From: Christian Mahnke <cmahnke.sub@googlemail.com>
- To: xml-dev@lists.xml.org
- Date: Thu, 12 Feb 2009 10:48:30 +0100
Dear all,
I hope this is the right list for my question:
Is anyone aware of attempts to generate a XML schema (or even fragments) from a XSLT style sheet?
For example:
From
my point of view it should be a reasonable assumption that, if there is
a template matching element X there should be a definition of the same
element in the resulting schema. The same should apply to attributes as
well, if the style sheet looks for attribute Y inside the template for
element X, the schema fragment for X should have a attribute Y. It
should even be possible to make assumptions on invalid constructs by
looking for fatal XSLT message elements.
I'm aware that there are many limitations, starting with complex
matching attributes of the XSLT template element and not ending with
complex XPaths.
With best wishes,
Christian
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]