Cascade and inline CSS and SCSS style sheets in XML.
Inlining is done with style
attributes with the syntax described in
braille CSS.
Port | Description |
source primary | |
source.in-memory sequence |
The input fileset containing content and style files, if a Style sheets can be associated with the source in several ways: linked (using an
Style sheets that are linked to from the source document, or included via the 'user-stylesheet' option, must either exist on disk, or must be part of the source fileset. |
parameters parameter | Parameters that are passed to SCSS style sheets (as global variables). They
are also passed to XSLT transformations that are included from CSS through
|
Port | Description |
result primary | |
result.in-memory sequence |
The output fileset, if a All styles are parsed, validated, normalized, cascaded and finally serialized into
Shorthand declarations such as 'before' and 'after' rules are serialized as 'page' properties are replaced with the corresponding named 'page' rules (without the
page type selector). If the root element does not have a 'page' property, the default
page rule is inserted. 'page' rules are serialized as 'volume' rules are serialized as |
result.parameters | A |
Local Name | Namespace URI | Default | Description |
parameters | map{} | This option may contain additional style sheet parameters, either as a map item, or in serialized form (Sass map). The parameters specified through this option and the ones specified through the "parameters" port are merged. |
|
content-type | 'text/html application/xhtml+xml application/x-dtbook+xml' |
The type of document to be processed. Other input documents will be left unchanged. Ignored if the |
|
user-stylesheet | '' | Space separated list of URIs, absolute or relative to source. Applied prior to all style sheets defined within the source, but after any user agent style sheets. |
|
include-user-agent-stylesheet | false() | Whether or not to include style sheets defined by the user agent for the given content
document type ( |
|
type | 'text/css text/x-scss' | The type of associated style sheets to apply. May be a space separated list. Allowed values are "text/css" and "text/x-scss". If omitted, all CSS and SCSS style sheets are applied. |
|
media | 'embossed' | The target medium type as a media
query. All rules that are contained in a style sheet that matches the specified
medium are included. Supported media types are "embossed", "speech" and "print". When
the target medium is "embossed", CSS is interpreted according to the rules of braille CSS. Supported media
features are 'width' and 'height' In addition,
' |
|
attribute-name | 'style' | Name of attribute to use for inlined styles. Default name is 'style'. |
|
multiple-attributes | false() | Cascade the styles into multiple attributes per element. In this case the namespace
and prefix of |