xsl-list
[Top] [All Lists]

RE: inserting HTML comments

2004-11-02 15:50:01
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(_at_)Graphisoft(_dot_)hu] 
Sent: Tuesday, November 02, 2004 10:57 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_at_)saxonica(_dot_)com]
Sent: 2004. november 2. 17:47
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_at_)Graphisoft(_dot_)hu]
Sent: 02 November 2004 15:31
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] inserting HTML comments

...

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


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--


<Prev in Thread] Current Thread [Next in Thread>