Please enable JavaScript.
Coggle requires JavaScript to display documents.
XML Databases - Coggle Diagram
XML Databases
Structure of XML Data
-
-
Text is said to appear in the context of an element if it appears between the start tag and end tag of that element.
The ability to nest elements within other elements provides an alternative way of representing information.
-
namespace allow organizations to specify globally unique names to be used as element tags in documents.
Motivation
-
markup language is a formal description of what part of the document is content, what part is markup, and what the markup means.
-
-
XML Applications
-
-
Web Services
The Simple Object Access Protocol defines a standard for calling procedures, using XML to represent procedure input and output.
-
The Web Services Description Language (WSDL) is a language used to describe a Web service’s capabilities.
Universal Description, Discovery and Integration (UDDI) is a standard that defines how a directory of available network services is created and how a program can search the directory to find a network service that meets its needs.
Data Mediation
-
The mediator must decide on a single schema that represents all the information needed and must provide code to transform data between different representations.
Storage of XML Data
-
Relational Databases
Store as String
-
Oracle, support function indices that can help avoid replication of attributes between the XML string and relation attributes.
Tree Representation
Information can be represented directly in relational format and many XML queries can be translated into relational queries and run on database systems.
Map to Relations
, XML elements whose schema is known are mapped to relations
and attributes.
-
-
SQL/XML
-
defines a standard extension of SQL, allowing the creation of nested XML output.
-
XML Document Schema
-
XML Schema
Defines a number of built-in types such as string, integer, decimal
date, and boolean.
-
Benefits
-
-
-
It integrates with namespaces to allow different parts of a document to conform to different schemas.
-
Allows types to be constrained to create specialized types, for example by specifying minimum and maximum values.
-