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 map?

944


What are the types of XML Parsers?

1052


What is the difference between xml dtd and xml schema or xsd?

933


What is document object model? Why it is used?

944


Why do xml namespaces start with http?

943


What is wsdl and how it works?

1010


what is the role of the doctype declaration in reference to xml?

883


What is minoccurs 0 in xsd?

1014


Does mixcloud have an rss feed?

986


Write the steps involved in the creation of a custom schema.

937


What are the different formatting objects in xsl-fo are categorized into?

1046


Is api a web service?

896


How do I use patreon rss feed?

993


What is an xml instance?

975


Can multiple xml namespace declarations be in scope at the same time?

1000