Basic HTML version of Foils prepared May 19 99

Foil 41 Document Formatting (XSL)

From An Introduction to XML Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Nancy McCracken,Ozgur Balsoy, Tom Scavo


A style rule is used to assign a style to a particular XML element.
It is possible to embed a style rule within an attribute: <p xsl::font-size="9pt" xsl::color="blue">A blue, 9pt paragraph.</p>
The problem with this approach is that the rule must be repeated each time the element is used. The style sheets are developed to solve this problem so that rules are grouped together, and can be shared by multiple files.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed May 19 1999