DOM question

Timothy Grant tjg at hyperlinq.net
Mon May 14 20:27:12 EDT 2001


Forgive my XML newbieness, but I'm puzzled by something.

I have been able to use minidom to read a tree and walk the
nodes and such, but I can't figure out how to access the
textual data in a tag. Given the following:

<tag attribute='test'>This is the text I want</tag>

I can find the  tag, I can read the attribute, but what minidom
or dom functions return the contents of the text?

I thought it would be nodeValue, but that is empty.

-- 
Stand Fast,
    tjg.

Timothy Grant                                www.hyperlinq.net 
Chief Technology Officer                     tjg at hyperlinq.net 
HyperLINq Technologies, Inc.                <>< (503) 246-3630
>>>>>>>>>>>>>Linux, because rebooting is *NOT* normal<<<<<<<<<
>>>>This machine was last rebooted:  48 days  2:34 hours ago<<




More information about the Python-list mailing list