<HTML>
<BODY>
<br>
>No, not currently. Should be easy to add, though. Just add a method (or<br>
>property?) to the RelaxNG class that retrieves the in-memory tree. Maybe the<br>
>XMLSchema class could do the same? I'd prefer a string result over writing to<br>
>a file, BTW. It's easy to write a string to a file, but it's overhead to read<br>
>in a file when all you wanted is a string.<br>
<br>
Certainly, a string is better than writing to a file.<br>
<br>
>Oh, and: I assume building an ElementTree from the internal RelaxNG schema is<br>
>not a good idea, as it could interfere too much with the validation. Copying<br>
>them first /might/ work, though.<br>
<br>
If the RelaxNG class returns a merged XML string, then that could be passed into the ElementTree parse method for navigation. That seems like an elegant solution.<br>
<br>
</BODY></HTML>