Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between xpath document and xml document?

Answer Posted / sivaramakrishna

XmlDocument and XPathDocument are based on different data
models.
XmlDocument is based on W3C XML DOM, which is object model
that
basically covers all XML syntax, including low level syntax
sugar such
as entities, CDATA sections, DTD, notations etc. That's
document-centric
model and it allows for full fidelity when loading/saving
XML documents.

XPathDocument is based on XPath 1.0 data model which is
read-only XML
Infoset-compatible data-centric object model that covers
only
semantically significant parts of XML, leaving out
insignificant syntax
details - no DTD, no entities, no CDATA, no adjacent text
nodes, only
significant data expressed as a tree with seven types of
nodes. Simple
and lightweight.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an xml namespace prefix?

917


How are comments used in xml?

873


What program opens xsd files?

922


What is application of xml?

812


What is Coding? Difference between Coding & Tagging

3683


What are the advantages of using xml?

843


How do I set up google rss feed?

880


Write a program to use the stylesheet element?

814


Are xml elements ordered?

898


How do I subscribe to rss feeds?

876


What are the two types of xml parsers?

978


How do I create my own document type?

1057


Explain about xml canonicalization?

934


What is the function of qualified names?

924


When should I use a cdata marked section?

1256