[EMAIL PROTECTED] wrote:
> My questions:
> 1) in the example above is there a subelement of doc with a tag
> 'SampleDetails'?
find only searches for direct subelements; SampleDetail is not a direct
subelement to SampleRoot, since there's a SpecificInformation element
in between.
> 2) if so, what
I do not understand how to use the find() method in ElementTree.
The file 'sample.xml' is:
FindMystery
abc
>>> from elementtree.ElementTree import ElementTree
>>> doc = ElementTree(file='sample.xml')
>>