XML Tips from perfectxml.com [Page 4]
- How does DSML relate to XML?
XML (for eXtensible Markup Language) is widely considered to be the core language of e-business. It is a syntax that standardizes how task-focused information is shared across the Internet.
XML provides for both context and inter-operability of data, thereby enabling dynamic activities. Also, since XML is self-describing, specific XML-based applications can interact with each other without special programming to integrate them
DSML is an XML-Schema for representing Directory Services content and structure.
An XML-Schema is a format for specifying rules covering the structure and content of XML documents.
DSML will be defined using a Document Content Description (DCD) (see W3C-DCD spec at http://www.w3.org/TR/NOTE-dcd ).
- XML and CSS, An Example
HTML tells how the data should look, but XML tells what data means. An XML document focuses on data rather than presentation.
XML document has various custom tags which identify the content inside those tags. In order to
"present" the XML document, you can use transformation language like XSL or you can use CSS (Cascading Style Sheets).
In this tip we'll show you how you can link an CSS file with an XML document.
Here's the XML document: test.xml
<?xml version="1.0" encoding="ISO8859-1" ?>
<?xml-stylesheet type="text/css" href="test.css"?>
<DESCRIPTION>The best site to learn XML and related technologies.</DESCRIPTION>
Here's the CSS file for the above XML document: test.css