
I'm using XPath queries on XML schema documents to extract certain information from a given schema document. This works well using lxml. This approach falls short when the XML schema document uses xs:include. Now I stumbled across the XML Schema API (see https://www.w3.org/Submission/xmlschema-api/). Using the XML Schema API likely would solve all issues regarding include statements. Is it possible to use the XML Schema API with lxml? TIA, Markus

Markus Schöpflin schrieb am 16.03.2016 um 13:14:
I wouldn't know any implementation of it. Also, libxml2 keeps the processed schema document internal, so there is no easy way to reach it (or to process only the inclusions, or some other obvious thing that might help here). Stefan

Markus Schöpflin schrieb am 16.03.2016 um 13:14:
I wouldn't know any implementation of it. Also, libxml2 keeps the processed schema document internal, so there is no easy way to reach it (or to process only the inclusions, or some other obvious thing that might help here). Stefan
participants (2)
-
Markus Schöpflin
-
Stefan Behnel