Hi , I'm trying to parse some XML. I have code something like this:
Element fstNmElmnt = (Element) fstNmElmntLst.item(0); String phone = fstNmElmnt.getTextContent(); I also import org.w3c.dom.Element;. But the compiler is complaining that the method getTextContent() is undefined for the type Element. Why is this? and what could be done? thanks, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---