W3C recommended on January,23 2007 status to Xquery the SQL did query language for relational databases , xml used the same language which was done by SQL, x query helps the user to work on one common model though it might be any kind of the work the user does. SQL/XML is different type of standard which uses declarative and portable queries return to XML by querying relational data, many might think why standard for XML and databases? The applications of the enterprise access and work with data from multiple desperate sources, from the
On Jan. 23, 2007 the W3C granted Recommendation status to XQuery, the XML query language designed to do for Web services what SQL did for relational databases. XQuery allows you to work in one common model no matter what type of data you're working with -- relational, XML or object data. It's used for queries that must represent results as XML, to query XML stored inside or outside the database, or to span relational and XML sources.
SQL/XML is another standard that uses declarative, portable queries to return XML by querying relational data. It's an
XML is a versatile markup language, capable of labeling the information content of diverse data sources including structured and semi-structured documents, relational databases, and object repositories. A query language that uses the structure of XML intelligently can express queries across all these kinds of data, whether physically stored in XML or viewed as XML via middleware. This specification describes a query language called XQuery, which is designed to be broadly applicable across many types of XML data sources.
This document has been
Abstract
Mapping XML Schemas to class definitions and relational schemas allows for seamless marshaling and unmarshaling of an object's state to and from XML documents. W3C XML Schemas provide a rich set of datatypes and validity rules, both built-in, and user definable. It is possible to map data structures defined in a Schema document to data structures in object oriented languages and relational databases. This paper presents approaches to automating such mapping.
In simple cases, a Schema document can be generated based on a class definition,