In Xport, a stylesheet item refers to a component of a stylesheet. A stylesheet item can be one of three types, a stylesheet rule, import rule, or a stylesheet comment. These three types of items make up a stylesheet.
Xport defines a class, stylesheet_item
which serves as the base class for stylesheet_rule
,
stylesheet_import
, and stylesheet_comment
. Any of these three classes derived from
stylesheet_item can be inserted into a stylesheet object.