An Overview

  • Revision slug: Transforming_XML_with_XSLT/An_Overview
  • Revision title: An Overview
  • Revision id: 194847
  • Created:
  • Creator: CitizenK
  • Is current revision? No
  • Comment

Revision Content

The separation of content and presentation is a key design feature of XML. The structure of an XML document is designed to reflect and clarify important relationships among the individual aspects of the content itself, unhindered by a need to provide any indication about how this data should eventually be presented. This intelligent structuring is particularly important as more and more data transfers are automated and take place between highly heterogeneous machines linked by a network.

Yet eventually much of the content stored in XML documents will need to be presented to human readers. Because a browser provides a familiar and highly flexible interface, it is an ideal mechanism for delivering such presentation versions of XML content. Built from the ground up utilizing a wide variety of XML technologies, Netscape incorporates within itself all of the mechanisms needed to process both original XML documents and the specialized stylesheets used to style and lay them out for HTML display, reducing server load with client-side processing.

At present, Netscape supports two forms of XML stylesheets. For basic control of appearance - fonts, colors, position, and so forth, Netscape uses CSS, familiar from DHTML. All of CSS1 and most of CSS2 are supported. Support for the emerging CSS3 standard is under development. For further information about CSS, see Eric Meyer's CSS pages. For an overview of CSS1 and Netscape, see this Browser Central page.

Our focus here is on the second type of stylesheet that Netscape supports: the XSLT stylesheet. XSLT stands for eXtensible Stylesheet Language/Transform and the name is apt. XSLT allows a stylesheet author to transform a primary XML document in two significant ways: manipulating and sorting the content, including a wholesale reordering of it if so desired, and transforming the content into a different format (and in the case of Netscape, the focus is on converting it on the fly into HTML which can then be displayed by the browser).

Original Document Information

  • Copyright Information: Copyright © 2001-2003 Netscape. All rights reserved.

Revision Source

<p>
</p><p>The separation of content and presentation is a key design feature of XML. The structure of an XML document is designed to reflect and clarify important relationships among the individual aspects of the content itself, unhindered by a need to provide any indication about how this data should eventually be presented. This intelligent structuring is particularly important as more and more data transfers are automated and take place between highly heterogeneous machines linked by a network.
</p><p>Yet eventually much of the content stored in XML documents will need to be presented to human readers. Because a browser provides a familiar and highly flexible interface, it is an ideal mechanism for delivering such presentation versions of XML content. Built from the ground up utilizing a wide variety of XML technologies, Netscape incorporates within itself all of the mechanisms needed to process both original XML documents and the specialized stylesheets used to style and lay them out for HTML display, reducing server load with client-side processing.
</p><p>At present, Netscape supports two forms of XML stylesheets. For basic control of appearance - fonts, colors, position, and so forth, Netscape uses CSS, familiar from DHTML. All of CSS1 and most of CSS2 are supported. Support for the emerging CSS3 standard is under development. For further information about CSS, see <a class="external" href="http://www.meyerweb.com/eric/css/">Eric Meyer's CSS pages</a>. For an overview of CSS1 and Netscape, see this <a class="external" href="http://home.netscape.com/browsers/future/standards.html#1">Browser Central page</a>.
</p><p>Our focus here is on the second type of stylesheet that Netscape supports: the XSLT stylesheet. XSLT stands for eXtensible Stylesheet Language/Transform and the name is apt. XSLT allows a stylesheet author to transform a primary XML document in two significant ways: manipulating and sorting the content, including a wholesale reordering of it if so desired, and transforming the content into a different format (and in the case of Netscape, the focus is on converting it on the fly into HTML which can then be displayed by the browser).
</p>
<div class="originaldocinfo">
<h3 name="Original_Document_Information"> Original Document Information </h3>
<ul><li> Copyright Information:  Copyright © 2001-2003 Netscape. All rights reserved.
</li></ul>
</div>
Revert to this revision