XML
  Home arrow XML arrow Page 7 - Introduction to XML
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
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? 
XML

Introduction to XML
By: Kay Ethier
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2004-06-15

    Table of Contents:
  • Introduction to XML
  • A Review of Basic Terminology
  • Terminology Continued
  • Understanding XML Rules (1-3)
  • Understanding XML Rules (4-5)
  • Understanding XML Rules (6-7)
  • Looking at XML with Formatting

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb 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 - Looking at XML with Formatting


    (Page 7 of 7 )

    You can also use style sheets to format your XML (make it display a certain way). XML can be formatted using several methods. 

    • You can bring XML into tools to change the way it looks

    • You can use style sheets to format XML

    • You can use the XML formatting and transforming language, called XSLT, to adjust XML

    XSLT allows you to use the tags within your XML document to create formatted output. The formatting could be as simple as adding bold to an object with a <company_name> tag. The formatting can also be as complex as telling all the invoice pieces to go into a table and become sortable.

    Note: XSLT is written in XML.

    Getting Started with a Pilot Project

    How do you get started with XML? You now have an idea about what is in an XML document. You have a basic understanding of the purpose of DTDs and XSLT.

    There are actually better questions that you should try to answer for yourself. For what do you want to use XML? It can be used to do many different things. What issues are you facing that have sent you searching for a better alternative? Start with answers to these questions and then move forward.

    Once you finish implementing XML to fix a specific problem, you will start to see other places where it can fit into your environment.

    Still don't know where to start? Then start small! Pick a pilot or pet project and give XML a whirl. Find a list, a directory, or some other information that has a pattern to it. Take that and try to duplicate it in XML, creating a structure based on the pattern. You may need some help from your Webmaster or a developer (if you can get your hands on one).

    XML fits into a lot of places. It can replace or work with other technologies. It can be used instead of scripts or to supplement them. It can work with databases or on its own to store content. Before you dive into what XML might do, it can help if you learn more about what it can do for you.

    Summary

    In closing, let me reiterate that understanding XML's rules is not difficult. Typing an XML document is also not difficult. What is difficult is figuring out what to do with XML.

    If you feel that you need more information on XML before proceeding into FrameMaker, there are many, many resources available for XML, DTDs, and XSLT. Start with www.w3.org. Then, to figure out what that site is really talking about, go to www.w3schools.com.

    You might also pick up an XML book at www.amazon.com, www.fatbrain.com, or your local bookstore. Try the XML Weekend Crash Course, if you are really starting from scratch, or visit www.apress.com to learn more about books by the company that published this one. And, once you feel comfortable with XML, try moving on to a book on XSLT.

    This chapter is from XML and Framemaker, by Kay Ethier (Apress, 2004, ISBN: 159059276X). Check it out at your favorite bookstore today.

    Buy this book now.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

     

    XML ARTICLES

    - Using Regions with XSL Formatting Objects
    - Using XSL Formatting Objects
    - More Schematron Features
    - Schematron Patterns and Validation
    - Using Schematron
    - Datatypes and More in RELAX NG
    - Providing Options in RELAX NG
    - An Introduction to RELAX NG
    - Path, Predicates, and XQuery
    - Using Predicates with XQuery
    - Navigating Input Documents Using Paths
    - XML Basics
    - Introduction to XPath
    - Simple Web Syndication with RSS 2.0
    - Java UI Design with an IDE







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    Stay green...Green IT