[lxml-dev] etree.Element from RNG schema?

Frank Cusack fcusack at redhat.com
Thu Jul 17 19:30:10 CEST 2008


On July 17, 2008 7:03:40 AM +0200 Stefan Behnel <stefan_ml at behnel.de> wrote:
> But if all you want is resolved <ref> tags, you can do that yourself very
> easily, without passing through RelaxNG at all. (You might want to use
> .iter(tag) for that instead of XPath, BTW).

Not sure I'd agree with "very easily".  You have to handle include,
externalRef, recursion and combination.  I'll look at .iter(), thanks.

-frank


More information about the lxml-dev mailing list