on 08-13-2007 12:37 PM
Hi Frnd
Once the XML is converted to the xml dom, how can we read it out and print it accordingly on to the screen plz help me out.
Thnx
Adhir
Hi Adhir,
Once the XML DOM object has been created.
You can read the node /attribute easily. Suppose DOM object is xmlDoc.
attribValue = xmlDoc.getElementsByTagName("nodename")<i>.childNodes[0].nodeValue
or xmlNode = getElementsByTagName("nodename")<i>
Hope this will answer your query.
Regards,
Prashil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
good
go through this link
http://www.javaworld.com/javaworld/jw-09-2004/jw-0906-xml.html
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.