Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.7.1
-
None
-
None
Description
The Xalan specific output properties are documented at
http://xml.apache.org/xalan-j/usagepatterns.html#outputprops
Indeed one can over-ride such properties by defining them in an <xsl:output...> element, e.g.
<xsl:output indent="yes" />
and one can set them via a JAXP API, e.g.
Transfomer.setOutputProperty("indent", "yes");
The page mentions how to set similar, but Xalan-J specific properties, e.g.
<xsl:output indent="yes" xalan:indent-amount="4" />
where the prefix xalan maps to the URI "http://xml.apache.org/xalan"
However the page does not document that a Xalan specific property can be set via JAXP, e.g.
Transfomer.setOutputProperty("
indent-amount", "4");
I presume that this is a supported way to set a Xalan specific property and that it is just missing from the page. It is not documented, but is it supported?