
xml.library.xsl Maven / Gradle / Ivy
Parse a style sheet.
The style sheet must be specified as a string or a node (or empty sequence). In case
of a node the string value is taken. Additional information may be provided by
specifying the style sheet as an attribute node. A `css:page` attribute is parsed as a
@page rule. A `css:volume` attribute is parsed as a @volume rule. A `css:text-transform`
attribute is parsed as a @text-transform rule. A `css:counter-style` attribute is parsed
as a @counter-style rule. A `css:*` attribute with the name of a property is parsed as a
property declaration. `attr()` values in `content` and `string-set` properties are
evaluated.
An optional parent style may be specified as a `Style` item().
Return value is an optional `Style` item.
Serialize a style sheet to a string.
The style sheet must be specified as a `Style` item.
An optional parent style may be specified as a `Style` item().
Serialize a style sheet to a pretty, indented, string.
The style sheet must be specified as a `Style` item.
The unit that is used for indenting lines, must be specified as a string. Each line is prefixed with
this string a number of times that corresponds with the nesting level.
Render a table as a (nested) list.