← Prev in month ← Prev in thread

Schema fragments form style sheets?

From
Christian Mahnke <>
To
Date
2009-02-12T09:48:30Z
ID
<>
Thread
Schema fragments form style sheets?
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
← Prev in month ← Prev in thread