XQuery Introduction
- Previous Page XQuery Tutorial
- Next Page XQuery Examples
Ang pinakamahusay na paraan para ipaliwanag ang XQuery ay ganoon: ang kaugnayan ng XQuery sa XML ay katulad ng kaugnayan ng SQL sa table ng database.
Ang XQuery ay dinisenyo upang magtanong ng data sa XML - hindi lamang sa mga file na XML, kundi pati na rin ang anumang data na pwedeng ipakita sa anyo ng XML, kabilang ang database.
Ang mga batayan na kaalaman na dapat ninyong magkaroon:
Bago ninyo magpatuloy sa pag-aaral, kailangan ninyong magkaroon ng pangkaraniwang kaalaman sa mga sumusunod:
- HTML / XHTML
- XML / XML namespace
- XPath
Kung gusto ninyong magsimula sa mga proyekto na ito, mangyaring sumali sa aming Home page Access ang mga tutorial na ito.
Ano ang XQuery?
- Ang XQuery ay isang wika para sa pagtatanong ng data sa XML
- Ang gawain ng XQuery sa XML ay katulad ng gawain ng SQL sa database
- Ang XQuery ay nakabase sa expression ng XPath
- XQuery ay sinusuportahan ng lahat ng pangunahing database engine (IBM, Oracle, Microsoft, atbp.)
- XQuery ay isang standar ng W3C.
XQuery is related to XML querying
XQuery is a language used to search for and extract elements and attributes from XML documents.
This is an example of using XQuery to solve real-world problems:
“Select all CD records from the CD collection stored in the cd_catalog.xml XML document that have a price below $10.”
XQuery and XPath
XQuery 1.0 and XPath 2.0 share the same data model and support the same functions and operators. If you have already learned XPath, then learning XQuery will not be a problem.
You can read more about XQuery 1.0 and XPath 2.0 in ourXPath TutorialRead more about XPath in
XQuery - Application Examples
XQuery can be used for:
- Extract information for use in network services
- Generate summary reports
- Convert XML data to XHTML
- Search for network documents to obtain relevant information
XQuery is a W3C Recommendation Standard
XQuery is compatible with various W3C standards such as XML, Namespaces, XSLT, XPath, and XML Schema.
XQuery 1.0 was established as a W3C Recommendation Standard on January 23, 2007.
For more information about W3C XQuery events, please read ourW3C Tutorials》。
- Previous Page XQuery Tutorial
- Next Page XQuery Examples