|
|
|
Xport's stylesheet type alias, (and other aliases typed from
xhtml_stylesheet), encapsulates an xhtml stylesheet.
You will create a stylesheet object anytime you wish to create an external stylesheet or an embedded stylesheet. The stylesheet class includes parsing operations, but writing operations are contained in stylesheet_formatter.
Stylesheet contains only a few vital operations, listed below. A stylesheet object can contain rules, comments, and import declarations.
All of these are added to a stylesheet object via stylesheet's add_item() operation.
The type alias that you use for your stylesheet depends on the character type you wish to use. The list below reveals the two type
aliases for Xport's stylesheet.
The operations listed below are availiable for Xport's stylesheet.