css:expand (in library css.xpl) expand
Input Ports
Name | Documentation | Connections |
---|---|---|
sourceⓅ | an XHTML document | |
stylesheet | a stylesheet that can be overriden, e.g. if CSS2.1 features are wanted only |
|
Output Ports
Name | Documentation | Connections |
---|---|---|
resultⓅ | an XHTML document with CSSa attributes (in addition to its style elements/attributes/linked CSS stylesheets) | |
xml-representation | There is currently no schema for the internal “CSS as XML” representation. We should use CSSa at some stage, but CSSa was developed after css:expand, and all of CSS may not (yet) fully expressed in CSSa. |
Options
Name | Documentation | Default |
---|---|---|
path-constraint | a predicate for matching only specific nodes, e.g., '[parent::*:tr]' for expanding only HTML table cell attributes | '' |
prop-constraint | space-separated list of property names that should be attached as css: attributes, e.g., 'width padding-top padding-bottom' | '' |
debug | 'no' | |
debug-dir-uri | resolve-uri('debug') |
Subpipeline
Step | Inputs | Outputs | Options |
---|---|---|---|
css:parse parse |
| result | debug = $debug debug-dir-uri = $debug-dir-uri |
p:xslt css-xsl |
| result | |
letex:store-debug d41e154 | result | pipeline-step = 'css-expand/css.2.create-xsl' extension = 'xsl' active = $debug base-uri = $debug-dir-uri | |
p:sink d41e162 | |||
p:xslt d41e164 | result | ||
letex:store-debug d41e182 | result | pipeline-step = 'css-expand/css.3.expanded' active = $debug base-uri = $debug-dir-uri |