Re: [xml] XML validation using Schematron using LibXml2?




Andrew Hartley, 16.12.2009 12:50:
Is it possible yet with the latest libxml2 build to validate an XML document
using a Schematron?  If so can you update the LibXml2 web site to show code
examples of how you go about doing this please?  If this is not yet
possible, do you you know when this is likely to be fully implemented?

There are still limitations in the latest schematron support. However, you
can use libxslt and run the ISO Schematron stylesheets with it:

http://www.schematron.com/

We will actually bundle them in future versions of lxml (the Python XML
lib), as they are currently the most spec compliant implementation
available that runs with libxml2/libxslt.

Stefan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]