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): frsazev...@gmail.com
(work): filipe-r-azev...@ptinovacao.pt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to