CSS Tab (XML to PDF Transformation with CSS)
When you create a new transformation scenario or edit an existing one, a configuration dialog box is displayed that allows you to customize the transformation with various options in several tabs.
The CSS tab contains the following options:
- XML URL
- Specifies the source XML file. You can specify the path by using the text field, its history drop-down, the Insert Editor Variables button, or the browsing actions in the Browse drop-down list. You can also use the Open in editor button to open the specified file in the editor panel. This URL is resolved through the catalog resolver. If the catalog does not have a mapping for the URL, then the file is used directly from its remote location.
- CSS URL
- Optionally, you can use this option to specify the location of a custom CSS file to be applied to the transformation. If this option is left blank, only the CSS referenced directly from the document will be applied. You can specify the path by using the text field, its history drop-down, the Insert Editor Variables button, or the browsing actions in the Browse drop-down list. You can also use the Open in editor button to open the specified file in the editor panel.
- Apply CSS stylesheets set in the current framework
- If selected, CSS stylesheets that are specified in the framework (in the Document Type configuration CSS subtab) are applied
to the transformation in addition to any CSS referenced directly in the document or
specified in the CSS URL
field.Note: If CSS files are specified in multiple ways, the transformation applies the CSS in the following order (from lowest priority to highest):
- CSS files that are specified in the framework (in the Document Type configuration CSS subtab).
- CSS files referenced directly in the document.
- CSS files specified in the CSS URL field.
- Processor options link
- Opens the CSS-based Processors preferences page where you can configure some options for generating PDF output.