[Tutor] how to get the content of an XML elements.

Keo Sophon keosophon at khmeros.info
Wed Apr 5 13:42:37 CEST 2006


On Sunday 02 April 2006 04:47, Kent Johnson wrote:
> Alan Gauld wrote:
> > "Keo Sophon" <keosophon at khmeros.info> wrote in message
> > news:200603311906.26110.keosophon at khmeros.info...
> >
> >>Is there anyway to get the content of an XML elements. I am using
> >> xml.dom.
> >
> > For true XML I think ElemTree (by Fred Lundh?)  is the best approach.
> > Try a Google search.
>
> Yes, it's ElementTree though.
>
> Keo, what do you mean, "get the content of an XML elements"?
>
> Kent

for example:

.....
<to>someone at email.com</to>
.....

I would like to get "someone at email.com" of <to>.

How to do that?

Phon


More information about the Tutor mailing list