You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/10/20 19:40:51 UTC

[jira] Created: (XALANJ-2216) Xalan specific Transformer properties not fully documented

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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org