# Changeset 989

Ignore:
Timestamp:
Mar 24, 2011, 6:08:45 PM (8 years ago)
Message:

Documented-oriented Data-oriented.

File:
1 edited

### Legend:

Unmodified
 r988 XML files tend to be classified as either documents-oriented'' or data-oriented'' \cite{DuCharme04}. Documented-oriented XML is designed to be human readable, such as Figure \ref{fig:sample_xml}; data-oriented XML files are intended to be parsed by machines and omit any human-friendly'' formatting techniques, such as the use of whitespace and descriptive natural language'' naming schemes.  Although the XML specification does not distinguish between XML for documents'' and XML for data'' \cite{TR:XML}, the latter often requires the use of an XML parser in order to utilize the information within them. The role of an XML parser is to transform the text-based XML data into an application-ready format. XML files can be classified as documents-oriented'' or data-oriented'' \cite{DuCharme04}. Documented-oriented XML is designed to be human readable, such as Figure \ref{fig:sample_xml}; data-oriented XML files are intended to be parsed by machines and omit any human-friendly'' formatting techniques, such as the use of whitespace and descriptive natural language'' naming schemes.  Although the XML specification does not distinguish between XML for documents'' and XML for data'' \cite{TR:XML}, the latter often requires the use of an XML parser in order to utilize the information within them. The role of an XML parser is to transform the text-based XML data into an application-ready format. %For example, an XML parser for a web browser may take a XML file, apply a style sheet to it, and display it to the end user in an attractive yet informative way; an XML database parser may take a XML file and construct indexes and/or compress the tree into a proprietary format to provide the end user with efficient relational, hierarchical, and/or object-based query access to it.