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
What is excel xml map?
How we compare XSLT and XPath?
What is xml word?
How do I convert xml to pdf?
What is xpath expression?
What is the relationship between xml namespaces and the xml 1.0 recommendation?
What happens if there is no prefix on an element type name?
Is dtd better than xml?
Explain about remote call procedure?
Which is the best tool one should learn i.e the tool having demand in the market for XSL?
How often do rss feeds update?
How do I configure an xpointer processor?
state some disadvantages of xml?
What are the three main characteristics of xml?
How to transform an XML document into another XML document?