Xalan specific Transformer properties not fully documented
----------------------------------------------------------

         Key: XALANJ-2216
         URL: http://issues.apache.org/jira/browse/XALANJ-2216
     Project: XalanJ2
        Type: Bug
  Components: Documentation  
    Versions: Latest Development Code    
    Reporter: Brian Minchau
    Priority: Minor


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("{http://xml.apache.org/xalan}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?





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to