Presentation is loading. Please wait.

Presentation is loading. Please wait.

Extensible Stylesheet Language (XSL) Brian Temple.

Similar presentations


Presentation on theme: "Extensible Stylesheet Language (XSL) Brian Temple."— Presentation transcript:

1 Extensible Stylesheet Language (XSL) Brian Temple

2 about:XSL XSL is a language for expressing stylesheets –a language for transforming XML documents –an XML vocabulary for specifying formatting semantics

3 But, why XSL? Unlike HTML, XML element names have no intrinsic presentation semantics Builds on prior work of CSS2, DSSSL Can be extended

4 An Example XML Document Matthias Hauswirth 4500 Brookfield Dr. Boulder CO 80303 Brian Temple 1234 Strasse Boulder CO 80302 Brian pays Porsche 1 129400.00 Need a new one Ferrari 2 189000.25 1999-05-21

5 Simple XSL Document

6 Simple XSL Results

7 XSL:CHOOSE 100]">

8 XSL:CHOOSE Results

9 Processing a stylesheet

10 Formatting process Build formatting object tree Produce refined formatting object tree –mapping from properties to traits shorthand expansion into individual properties mapping of corresponding properties determining computed values inheritance Construct area tree

11 The Area Model

12 A Typical Area Tree

13 Fe Fi FO Fum This is an important word in this sentence that also refers to a variable....

14 Examples of Formatting Objects bidi-override block block-container character color-profile conditional-page-master-reference declarations external-graphic float flow footnote footnote-body initial-property-set inline inline-container instream-foreign-object layout-master-set leader list-block list-item list-item-body list-item-label marker multi-case multi-properties multi-property-set multi-switch multi-toggle page-number page-number-citation page-sequence page-sequence-master region-after region-before region-body region-end region-start repeatable-page-master-alternatives repeatable-page-master-reference retrieve-marker root simple-link simple-page-master single-page-master-reference static-content table table-and-caption table-body table-caption table-cell table-column table-footer table-header table-row title wrapper


Download ppt "Extensible Stylesheet Language (XSL) Brian Temple."

Similar presentations


Ads by Google