is it possible to preserve space in attribute values when passing them to a XSLT processor?
Attribute values are normalized according to XML rules before the XSLT processor gets to see them. This means newlines are converted to spaces. This means it isn't a good idea to put JavaScript code in XML attributes, because newlines in JavaScript are significant - for example, a newline can terminate a comment, so replacing it by a space is bad news.Mike Kay