Subject: RE: Transformnode with MSXML version 3
From: "Joshua Allen" <joshuaa@xxxxxxxxxxxxx>
Date: Fri, 18 May 2001 13:25:11 -0700
|
Try using:
domDocument.preserveWhitespace = true
*before* loading your XML or XSLT transform into DOMs.
> -----Original Message-----
> From: Jason Macki [mailto:jmacki@xxxxxxx]
> Sent: Friday, May 18, 2001 12:34 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: 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
|