[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] inserting HTML comments


Subject: RE: [xsl] inserting HTML comments
From: "Babos, Andras" <ababos@xxxxxxxxxxxxx>
Date: Wed, 3 Nov 2004 12:19:33 +0100

Hi,

> -----Original Message-----
> From: Pieter Reint Siegers Kort [mailto:pieter.siegers@xxxxxxxxxxx]
> Sent: 2004. november 2. 23:50
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] inserting HTML comments
>
> Hi Andras,
>
> You may use Saxon and tell it to strip whitespace from your XML, or
use
> MSXML 3.0 or 4.0 and it will per default strip whitespace
> (preserveWhiteSpace=false).

Yeah, but the problem is that this newline doesn't come from the input
XML (then I could use <xsl:strip-space> to get rid of it), but the
processor
inserts it inside the <PRE> tags.
I will give Saxon a try, lot of people have recommended it.

> Before moving on, check out:
> http://www.dpawson.co.uk/xsl/sect2/N8321.html

Too bad that it mainly says that I can't do anyting about the processor
inserted whitespace...

Regards:
	Andras Babos.


Current Thread
Keywords
xml