spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / xml / column 2

The Foundation: XML, XSL, X-Link

Sr. Programmer/Analyst
Professional Technical Resources
US-OR-Portland

Justtechjobs.com Post A Job | Post A Resume
Developer News
Metasploit 3.2 Offers More 'Evil Deeds'
'Thank You Apple. Seriously.'
The Buzz: BlackBerry App Store Seen Next

XML on its own is not terribly exciting. It is simply a way of expressing data in a format readable by both man and machine. But it does show its impressive power when one looks at the long list of vocabularies that have been defined in XML. Coming to think of it, this is true for HTML in a similar fashion: Its most impressive aspect is the existence of millions of documents that make up the Web as we know it, covering many topics of human life, and spanning almost every part of the globe.

In this section of the column we will examine the most important XML vocabularies, decyphering all the TLAs (Three Letter Acronyms) along the way, and discuss their applications and implications. Let's start with the foundation layed by the World-Wide Web Committee (W3C): Styles, links and documents.

Styles, links and documents

When the W3C started to define XML as an improved way of expressing and transmitting information, it was mainly concerned with the functions that make up a Web browser or other document reader today:

So the first two applications for XML under consideration were targeted at style sheets and document links.

Extensible stylesheet language (XSL)

Did you ever wonder why Cascading Style Sheets (CSS) have a completely different syntax from HTML? I did, and the folks at W3C now did, too. Not only is it inconvenient for users to master two completely different formats, it is also introducing unnecessary redundancy in software: Your favourite browser has an HTML parser and a CSS parser built in separately. If they shared the same syntax the browser could use the same basic parser code, and we authors and developers could use the same basic editing tools for both content and style. This is why XSL is cleverly defined in XML, and every generic XML tool can be used to view, edit, and process it. You can even use an XSL stylesheet to transform one XSL stylesheet into another. If you can actually think of a good reason why somebody would want that please drop me a line, but using a minimal set of technologies is always a good thing, because there is less to learn and more to reuse.

If you would like to read up on XSL basics, my first column provides an introduction and some examples to get you started.

Transformations vs Flow Objects

The XSL standardization started out with the ambitious goal to standardize styling and rendering of content. The process slowed down because of the complex requirements that print level quality should be achievable with XSL, as opposed to the comparatively simple on-screen positioning of CSS. As a consequence the standard was broken into two parts, XSL transformations (XSL-T) for transforming one document to another, and XSL flow objects (XSL-FO) for precisely specifying layout. XSL-T is now in widespread use for transforming XML documents into other representations such as XML for a different DTD, HTML, or low precision PDF. XSL-FO is still in the making, but several projects experiment with it for producing higher precision PDF and the like.

XSL-T is a combination of three components:

  1. The pattern matcher
  2. The rules engine
  3. The template processor

http://www.internet.com



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Tripwire Whitepaper: Seven Practical Steps to Mitigate Virtualization Security Risks
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview · Controllers: Programming Application Logic - Part 2 · How to Use JavaScript to Validate Form Data
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Choosing the Right Online Backup Provider · Mother Avaya Nurtures Her Technology Partners · Software as a Service a Winning Model for Hotspot Provider


Produced by Michael Claßen
All Rights Reserved. Legal Notices.

URL: http://www.webreference.com/xml/column2/index.html
Created: Dec. 20, 1999
Revised: Dec. 21, 1999