On Sat, 4 Sep 2010 13:34:12 -0700 (PDT)
"Edward K. Ream" <[email protected]> wrote:
> return e.attrib.get('id')
or just e.get('id') I think.
> for name in names:
> print(name,ids.get(name))
>
> Now how hard was that?
Infinitely (1./0.) harder than not having to write anything (the lxml in linux
case), but not bad in the lxml isn't available for windows case. I did email
the lxml list, I'll see if they respond. Python's lack of full XML support is
unfortunate (schemas as well as xpath), Java's had it all forever :-/ I know
XML's not the be all and end all (JSON etc), but it's fairly important.
Cheers -Terry
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.