RE: [xsl] inserting HTML comments

Subject: RE: [xsl] inserting HTML comments
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Tue, 2 Nov 2004 16:50:01 -0600
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).

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

Cheers,
<prs/>

-----Original Message-----
From: Babos, Andras [mailto:ababos@xxxxxxxxxxxxx] 
Sent: Tuesday, November 02, 2004 10:57 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] inserting HTML comments

Hi,

See below for the XSL processor. Which processor do you suggest?
I'll give the <SPAN> a try but don't have too high hopes... Thanks anyway.

	Andras Babos.

> -----Original Message-----
> From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
> Sent: 2004. november 2. 17:47
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] inserting HTML comments
> 
> This seems to be a problem with the HTML indentation algorithm in your 
> chosen processor. You need to tell us which processor you are using.
> There's
> probably not much you can do about it, apart from setting indent="no".
You
> might be able to get away with putting the comment in an otherwise
empty
> <span/> element.
> 
> Michael Kay
> http://www.saxonica.com/
> 
> 
> 
> > -----Original Message-----
> > From: Babos, Andras [mailto:ababos@xxxxxxxxxxxxx]
> > Sent: 02 November 2004 15:31
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: [xsl] inserting HTML comments

...

> > Some more background info:
> > 1. I'm using Xalan-C 1.8 with Xerces-C 2.5.0 (Windows).

Current Thread