15 Nov
2006
15 Nov
'06
8:25 a.m.
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.