Hello,

Did anyone manage to successfully set a node's value ?

Considering a Document "d":

"d.getElementsByTagName("xpto").item(0).getFirstChild().getNodeValue()"
returns "xpto_text"

"d.getElementsByTagName("mportal").item(0).getFirstChild().setNodeValue("foo")"


then

"d.getElementsByTagName("xpto").item(0).getFirstChild().getNodeValue()"
returns "xpto_text"

...while it is a type 3 (TEXT) node.

Am I doing something wrong here ?

Thanks in advance,

-- 
Filipe Azevedo
(personal): [email protected]
(work): [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to