>Re not getting indentation: To have Xalan indent the generated >document, you have to set two separate values. First, you need to set >the standard XSLT indent="yes" flag in your <xsl:output/> element. >Second, since Xalan's currently using 0 as its default indentation >depth, you need to reset that value by using the indent-amount >property; there's an example of this shown in >http://xml.apache.org/xalan-j/usagepatterns.html#outputprops >We may want to consider changing the default indentation amount at some >point, simply because 0 *does* confuse people.
HISTORICAL NOTE: The default value was originally 4, and was deliberately changed to 0. This way, indent="yes" gets you new-lines but no traditional indenting, while indent="no" eliminates the (generated) new-lines. I agree that we should say more about this in some Web page. .................David Marston
