Can you walk us through the steps necessary to parse XML
documents?
Answer Posted / chandrasekhar
1.create a instance of DocumentBuilderFactory Object using
newInstance() method.
2.get reference to DocumentBuilder object using
newDocumentBuilder() method of DocumentBuilderFactory.
3.get reference to Document object of the xml file to be
parsed by using DocumentBuilder.parse(File xmlfile) with
File object as argument.
start using Document object to get the elements of the xml
file using getElementsByTagName(),getElementsByName()
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How do I map data from excel to xml?
What is xml attribute?
Define sgml?
What is rss feed outlook?
What is rss element rss?
How do I save as an xml file?
What is XML Namespace?
What do you mean by template in xslt?
What does svg stand for and what is it used for?
Can I use rss feeds on my website?
Can we encode mathematics using XML?
What is minoccurs 0 in xsd?
How do I create a rss link?
What is a file feed?
What is dhtml and xml?