[xquery-talk] Schematron implemented in XQuery?
geert.josten at dayon.nl
Fri Nov 18 04:28:26 PST 2011
I did a bit of work on that a few years ago. But it kind of compiles from
Schematron to XQuery. The idea was to make it a bit more efficient. You
had to put the Schematron files in the Schema database of MarkLogic
Server, at first request it would compile it and put the xqy code into
Modules database to enable running it. In other words, rather tied to
MarkLogic Server the way it is now..
Note that it only covers the validation part, not the second part to make
a nice report out of it.
Also note that there is a good XSLT 1.0 implementation of Schematron.
Perhaps that would work in QT..
Van: talk-bounces at x-query.com [mailto:talk-bounces at x-query.com] Namens
Verzonden: vrijdag 18 november 2011 12:33
Aan: talk at x-query.com
Onderwerp: [xquery-talk] Schematron implemented in XQuery?
Has anybody developed a (free) implementation of Schematron with XQuery as
the query language/implementation.
The ISO Schematron spec has the following fine-sounding note:
The following query language names are reserved without further
definition. Implementations which use different query
language bindings are encouraged to use one of these names if
appropriate : stx, xslt, xslt1.1, exslt, xslt2, xpath, xpath2,
The closest that I've found to Schematron in XQuery is Norm's
ML-Schematron module  but that relies on MarkLogic's XSLT 2.0 support.
It's for an upcoming project implemented using QT, where the XQuery 1.0
support is more complete than the XSLT 2.0 support . I'll also be
looking to see whether Schematron's final compiled XSLT 2.0 stylesheet
that you actually run on the XML documents doesn't overexert QT's XSLT 2.0
processor, but it would be good to find out if I didn't have to worry
Tony Graham tgraham at mentea.net
Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
XML, XSL-FO and XSLT consulting, training and programming
talk at x-query.com
More information about the talk