Hi all,

I use dom to manipulate a xml file.

It's ok with my getter when I search a element node's value. But my
setter doesn't work. I'm sure that the node exists, and the xpath is
ok.

document.getElementsByTagName(tag).item(0).getFirstChild().setNodeValue(value);

Well I did exactly the same thing with the getter, there is no
problem.

document.getElementsByTagName(tag).item(0).getFirstChild().getNodeValue();

I don't understand at all...

Help please!

Thanks in advance

D.
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to