
xml.xproc.apply-stylesheets.xpl Maven / Gradle / Ivy
Apply CSS/SASS and/or XSLT stylesheets.
Style sheets can be associated with the source in several ways: linked (using an
'xml-stylesheet' processing instruction or a 'link' element), embedded (using a 'style'
element) and/or inlined (using 'style' attributes).
Style sheets are applied to the document in the following way: XSLT style sheets are
applied before CSS/SASS style sheets. XSLT style sheets are applied one by one, first
the ones from the 'stylesheets' option, then the ones associated with the source
document, in the order in which they are specified. CSS/SASS style sheets are applied by
"inlining" them, i.e. performing the cascade and capturing the styles of individual
elements in 'style' attributes. All CSS/SASS style sheets are applied at once, but the
order in which they are specified (first the ones from the 'stylesheets' option, then
the ones associated with the source document) has an influence on the cascading order.
A space separated list of URIs, absolute or relative to source. XSLT style sheets must
be specified before CSS/SASS style sheets.
These parameters are passed on to the XSLT transformations and injected as variables
into SASS style sheets.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy