xsl-list
[Top] [All Lists]

RE: Please help. fixing whitespace problem. total xsl Newbie

2004-03-10 01:58:00

So you don't think there is a way to do this and keep the 
cr's?  Any other suggestions.?

No, because the xml parser will normalise all of that whitespace in the
attribute before you get chance to do anything with it.  If you want to
process the document as xml and preserve the carriage returns, the text
will need to be stored as element content and not as an attribute.  You
will need to use some text editing tool convert each occurance of the
attribute to an element child.     

andrew

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list