How to request data from a lazily-created tree structure ?
Diez B. Roggisch
deets at nospam.web.de
Tue Jun 17 23:54:16 CEST 2008
> Do you know if there is such XPath engine that can be applied to a DOM-
> like structure ?
No. But I toyed with the idea to write one :)
> One way would be to take an XPath engine from an existing XML engine
> (ElementTree, or any other), and see what APIs it calls... and see if
> we cannot create a DOM-like structure that has the same API. Duck
> typing, really...
Why can't you create a *real* DOM?
More information about the Python-list