This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Transformnode with MSXML version 3


Try using:
domDocument.preserveWhitespace = true
*before* loading your XML or XSLT transform into DOMs.

> -----Original Message-----
> From: Jason Macki [mailto:jmacki@iisd.ca]
> Sent: Friday, May 18, 2001 12:34 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] Transformnode with MSXML version 3
> 
> Hello,
> 
> I've recently switched from version 2.0 of the microsoft parser to
> version 3.0, and I've noticed that when I transform my XML documents
> using the transformNode() method of the MSXML2.DOMDOCUMENT object,
I've
> noticed that the resulting HTML is displayed as a single line of text.
> 
> Does anyone know how to prevent this?
> 
> Thanks,
> Jason
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]