ExtremeExperts.com hosts some interesting technical articles and HOWTOs for Microsoft .NET based technologies.
ExtremeExperts.com hosts some interesting technical articles and HOWTOs for Microsoft .NET based technologies.
An XML schema describes the “type” of an XML document, typically expressed in terms of constraints on the structure and content of XML documents of that type. These constraints or rules are defined above and beyond the basic syntax rules which qualify a document as being an XML document.
As an analogy in Object-Oriented Programming, think of an XML schema as a “class” and XML documents conforming to the schema as “instances” or “objects” of that class.
Several languages have been developed specifically to express XML schemas. “Validating Parsers” are used to validate the conformance of XML documents to XML schemas. The most common type are “DTD-Validating Parsers”, which support the Document Type Definition (DTD) language. DTD is a schema language of relatively limited capability, native to the XML specification.
Resources:
XQuery is a query language semantically similar to SQL, designed to query collections of XML data. From W3C: “The mission of the XML Query project is to provide flexible query facilities to extract data from real and virtual documents on the World Wide Web, therefore finally providing the needed interaction between the Web world and the database world. Ultimately, collections of XML files will be accessed like databases”.
Of all the possibilities that XQuery potentially offers, one of the most interesting would be its use in solving the Web’s “offline problem” and giving users seamless access to their data with or without an Internet connection.
Resources:
XQuery is a superset of XPath, which is an expression language for addressing parts of an XML document and possibly computing values based on its content.
XPath Resources:
Resources on design considerations of XML documents:
There are two levels of correctness of an XML document:
The most significant rules that an XML document must follow to qualify as being “well-formed” are:
Notes:
“It would be hard to predict now what kinds of libraries might be needed in a hundred years. Presumably many libraries will be for domains that don’t even exist yet. If SETI@home works, for example, we’ll need libraries for communicating with aliens. Unless of course they are sufficiently advanced that they already communicate in XML.”
-Paul Graham, The Hundred-Year Language
XML has emereged as the de facto industry standard for specifying how to store almost any kind of data, in a form that makes it incredibly easy to interchange between applications running on different platforms.
Resources: