>>4. Extend the contrib/ltree gist-based tree indexing scheme to work on
>>xml and hence the operations in no.3 above are really fast...
>
> but then, the plain xml data is still stored in a database colum, if I
> understand correctly?
Yep - which to me seems to be the most useful way to store it :)
Chris