First question: It seems odd to me that the newline
character would be
considered significant and not get stripped
newlines that are followed by non-white space characters are
_never_ considered insignificatnt by XML or stripped by XSLT.
But they may be ignored when sorting - the spec leaves detailed
decisions on how strings are sorted to the implementation.
Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list