Kbase P88201: What is an XML query?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/07/2004 |
|
Status: Unverified
GOAL:
What is an XML query?
FIX:
A query for XML documents allows the application to select one or more parts of an XML document. The mechanism for doing the selection can be:
? XPath
? XPath is a standard proposed by the W3C which specifies the syntax for selecting parts of an XML document. There are several implementations of XPath processing and each one is different. (unfortunately) in how it adheres to the standard.
? XQuery
? XQuery is a standard proposed by the W3C which specifies the syntax for selecting parts of an XML document, sorting it, and transforming it. It combines the functionality of XPath and XSLT. There are several implementations of XPath processing and each one is different. (unfortunately) in how it adheres to the standard.
? DOM selection if all of the XML document can fit into memory.
? SAX event handling to filter out parts of an XML document.
What method of query processing you choose for your application will depend on the performance characteristics of your application and in particular, how large the documents are that you need to query.