Basic Search  Advanced Search   
Topics Resources Free Library Software XML News About Us
  You are here: home Info Bank Tips » Page 4 Friday, 16 November 2007

Info Bank » Tips

Page 1

Page 2

Page 3

Page 4

XML Tips from [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 External link ).

  • 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
    display: block;
    margin-bottom: 30pt;
    margin-left: 0;
    color: #FF0000;
    font-size: 20pt;
    color: #0000FF;
    font-size: 10pt;
    color: #FF0000;
    font-size: 12pt;
    color: #000000;
    font-size: 20pt;


  Contact Us | E-mail Us | Site Guide | About PerfectXML | Advertise ©2004 All rights reserved. | Privacy