[lxml-dev] getting back RelaxNG tree
Eric Scheidemantle
scheie at alum.rpi.edu
Wed Nov 15 03:55:47 CET 2006
Hello,
I'd like to use a set of RelaxNG documents to construct a validation
API. The documents will be modular and combined using the externalRef
and include tags. I will need a way to access the merged files as if
they were one Russian-Doll style file.
I see that etree.RelaxNG can be passed an ElementTree object. I assume
that etree.parse is not going to resolve RelaxNG references like , and .
Does the object etree.RelaxNG return have methods to access the document
as if it were built Russian-Doll style, or is it strictly limited to
validation?
Is there any access to the libxml function xmlRelaxNGDumpTree which I
assume may do something like this, but to a file? Ditto for
xmlRelaxNGParse?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20061114/81d7998c/attachment.htm
More information about the lxml-dev
mailing list