Home arrow XML arrow Page 7 - Introduction To XML

The Potential Of XML - XML

It's a fact of life that XML, which stands for eXtensible Markup Language, is invading our lives more and more as programmers, and I feel this is a good thing. The reason being XML has the ability to cross all sorts of boundaries, and probably the only chance we have to obtain a truly independent, cross-platform data transfer format.

TABLE OF CONTENTS:
  1. Introduction To XML
  2. Preparing Yourself For The Future!
  3. The Name Says It All…..EXtensible:
  4. Proof Is In The Output
  5. Starting From The Roots of XML…
  6. The Best Of Both The Worlds
  7. The Potential Of XML
  8. XML Parser
By: Gayathri Gokul
Rating: starstarstarstarstar / 44
August 28, 2003

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
Parts of an XML document:
The various building blocks of an XML document is shown in the document below. And this will be a recap to what we have already learnt.

The Prolog consisits of two internal blocks :
• The first block defines the XML version declaration which is optional. <?xml version = "1.0" ?>
DTD (document type definition) OR SCHEMA
PROLOG

VERSION
DECLARATION

DTD OR SCHEMA

 

<ROOT>

BODY…..

</ROOT>

XML Style Sheets
XML documents, unlike HTML, contain absolutely no formatting directives. Instead, an XSL (XML style sheet) is applied to the XML document. Think of a style sheet as a pre-processor for the actual graphical flow-engine that creates the final layout. The style sheet contains functions and rules for every element type. The functions are written in Scheme (a programming language derived from LISP) and have access to the full structure of the XML document being processed. This means that elements can be processed conditionally, for example, based upon their parent-element type (or some other relevant factor).

It is beyond the scope of this document to discuss XSL style sheets. However, the concept of applying a style sheet as part of the server-side processing is in fact extremely interesting and relevant to the discussion vis-a-vis server-side XML processing. I like to think of style sheets as transformation engines, which are capable of transforming an XML document into something else--for instance, a database record--or an HTML document.

 
 
>>> More XML Articles          >>> More By Gayathri Gokul
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

XML ARTICLES

- Google Docs and Xpath Data Functions
- Flex Array Collection Sort and Filtering
- The Flex Tree Control
- Flex List Controls
- Working with Flex and Datagrids
- How to Set Up Podcasting and Vodcasting
- Creating an RSS Reader Application
- Building an RSS File
- An Introduction to XUL Part 6
- An Introduction to XUL Part 5
- An Introduction to XUL Part 4
- An Introduction to XUL Part 3
- An Introduction to XUL Part 2
- An Introduction to XUL Part 1
- XML Matters: Practical XML Data Design and M...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: