Elementtree tag

Sean DiZazzo half.italian at gmail.com
Thu Dec 13 21:52:56 EST 2007


I have a another question...

using elementtree, is there a proper way to get at the data
'123456789' in this tag?

'<id 123456789 />'

I tried making it an element, but the only attribute that returns
anything is the "tag" attribute.  Does that section of a tag have any
proper name that I'm missing?  Or is it just bad XML style?

Thanks!

~Sean



More information about the Python-list mailing list