Hi Brian, There was some discussion and it was decided that such behaviour is OK since XSLT specification doesn't set any specific rules for indenting. It just says: <quot> If the indent attribute has the value yes, then the xml output method may output whitespace in addition to the whitespace in the result tree </quot> Xalan actually adds whitespaces, but only line breaks by default because of performance issues.
Thanks, Dmitry -----Original Message----- From: Brian Atkins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 12:22 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Bug #1633: Indent-amount default of 0 incorrect I feel this is incorrect behavior. If someone is producing a stylesheet without regard to what XSLT processor will eventually process it, then they will expect indent="yes" to actually indent. Requiring that they set an Xalan specific attribute to get the desired behavior, if/when the stylesheet is processed by an Xalan implementation, strikes me as very undesirable. If this has already undergone discussion and the consensus is that the default indent-amount should indeed be 0, can you point me to an archive of this discussion? Thanks Brian Atkins > ------- Additional Comments From [EMAIL PROTECTED] 2001-10-03 12:11 ------- > Please take a look at the documentation at > http://xml.apache.org/xalan-j/usagepatterns.html#outputprops > It explains what you need to do get indenting to work.
