XML info

Glossary

XML - Extensible Markup Language
XML is a way of describing and structuring data.
SAX - Simple API for XML
SAX accesses the information in an XML documents as an event sequence.
DOM - Document Object Model
Treats the information in an XML document as a tree of nodes. DOM vs. SAX comparison
Meta Data
The codes inserted into a document. "Information about information". For example, layout or display information about certain parts of the document.
XSL - Extensible Stylesheet Language
DTD - Document Type Definition
Defines document types.
Schemas
Defines document types.
XSLT - Extensible Stylesheet Language Transformations
Transform documents from one type to another.
XPath
A querying language for addressing parts of an XML document.
XQuery
A method of querying XML documents on the web.
XML Declaration
Some information about the file can be passed to the parser in the XML declaration on the first line of an XML file. The declaration starts with <?xml and ends with ?>. Attributes for version, encoding and standalone may be included (in that order only). A sample XML declaration is: <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
Namespaces
Categories of elements (a bag of names). Easily get separate by adding a prefix to the element name with a : in between. In order to get rid of the circumstance where namespaces may have the same name, URI's may used: <personnel:title xmlns:personnel="http://lepp.cornell.edu/personnel">. Here the prefix points to the URI in the attribute. If xmlns without a suffix is given as the attribute, that defines the default namespace.

Valid XHTML 1.0! Valid CSS!