manoj wrote:
> Hi I am writing an application which reads the xml data and just
> prints it.
> 
> The xml data consists of some escape sequence characters like &," ...
> 
> I am using DOM parser for this.
> 
> When trying to print the data, I am not able to get the original data.

That is because you are assuming there is only one child node of your
Element. Android's DOM may give you several child nodes. Iterate over
the children rather than only looking at the first one.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training.html

--~--~---------~--~----~------------~-------~--~----~
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