-
Notifications
You must be signed in to change notification settings - Fork 12
XSLT Formatting
The XMLSpectrum project was started with the primary goal of providing syntax-highlighting for XPath-family source code (XSLT, XQuery etc.) and leave the formatting exactly as in the source. However, when testing XMLSpectrum against many XSLT samples in the public domain, a significant number of formatting issues were found in the original source.
Issues in code formatting can severely impact the readability of the code - to the extent where syntax-highlighting becomes largely irrelevant. This is why a significant number of XML/XSLT formatting features are included in XMLSpectrum - along with the option to preserve the original formatting 'as-is'.
This page summarises the XSLT parameters used to control formatting of XML/XSLT.
## auto-trim
color-theme
css-inline
css-path
document-type
document-type-prefix
font-name
format-mixed-content
indent
link-names
output-method
output-path
sourcepath
w3c-xpath-functions-uri