RE: 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). 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: 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: 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: inserting HTML comments ... > > Some more background info: > > 1. I'm using Xalan-C 1.8 with Xerces-C 2.5.0 (Windows).
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format