This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Transformnode with MSXML version 3
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Transformnode with MSXML version 3
- From: "Joshua Allen" <joshuaa at microsoft dot com>
- Date: Fri, 18 May 2001 13:25:11 -0700
- Cc: <jmacki at iisd dot ca>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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