http://www.cadfamily.com/downinfo/301462.html
1.1 Intr oduction to stylesheet pr ocessing
An XSL stylesheet pr ocessor accepts a document or data in XML and an XSL
stylesheet and produces the presentation of that XML source content that was in-
tended by the designer of that stylesheet. There are two aspects of this presentation
process: rst, constructing a result tree from the XML source tree and second, in-
terpreting the result tree to produce formatted results suitable for presentation on
a display , on paper , in speech, or onto other media. The rst aspect is called tr ee
transformation and the second is called formatting . The process of formatting is
performed by the formatter . This formatter may simply be a rendering engine in-
side a browser .
T ree transformation allows the structure of the result tree to be signicantly dif ferent
from the structure of the source tree. For example, one could add a table -of -contents
as a ltered selection of an original source document, or one could rearrange source
data into a sorted tabular presentation. In constructing the result tree, the tree trans-
formation process also adds the information necessary to format that result tree.
No comments:
Post a Comment