[XML-SIG] 'searching' XML documents to extract 'chunks' of XML

Tony McDonald tony.mcdonald@ncl.ac.uk
Wed, 10 Mar 1999 09:32:35 +0000


Hi all,
I've recently fallen onto 'XML in python' from a 'XML in Perl/PHP' 
perspective and after downloading and playing with the XML-0.5 
release I'm mightily impressed!. As I'm new to Python, I keep finding 
things that make me go 'ooo, thats neat!'.

One thing I really need to do is to 'query' XML documents, and 
extract portions of them. In Perl I would use the XQL module, based 
on the XQL http://www.w3.org/TandS/QL/QL98/pp/xql.html W3C note, 
which allows you to select tags,  and optionally, their children 
based upon quite a few search criteria (eg value of attribute or 
whether the parent has an attribute or content that matches your 
search term).

Is there anything like this in the XML-Python world?

any pointers gratefully received!
ta
tone
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2