I Would like to know what are the difference between Using Xml Parser and Xpath in XML.Because, both are used to get the any pieces of information in the xml document.That why i asked this question…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An XML Parser turns an XML document into a data structure that you can access programatically (or a stream of SAX events).
XPath is a query language for taking an XML based data structure (or a stream of SAX events) and finding the bits of it you want.
The difference is rather like that of an HTML parser and a CSS selector engine or a Car and a Road Map. They are two completely different things that can be used together.