XML
  Home arrow XML arrow Page 7 - Introduction To XML
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
XML

Introduction To XML
By: Gayathri Gokul
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 44
    2003-08-28


    Table of Contents:
  • Introduction To XML
  • Preparing Yourself For The Future!
  • The Name Says It All…..EXtensible:
  • Proof Is In The Output
  • Starting From The Roots of XML…
  • The Best Of Both The Worlds
  • The Potential Of XML
  • XML Parser

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Introduction To XML - The Potential Of XML
    ( Page 7 of 8 )

    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
     

       

    XML ARTICLES

    - 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...
    - Practical XML Data Design and Manipulation f...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek