[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: inserting HTML comments

Subject: RE: inserting HTML comments
From: "Babos, Andras" <ababos@xxxxxxxxxxxxx>
Date: Fri, 5 Nov 2004 12:51:50 +0100
xslt html comments
Hi David,

> -----Original Message-----
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: 2004. november 5. 2:34
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  inserting HTML comments
>
>
> > 2. I do have the xsl:output element set to html and indent="yes",
but
> > even if I
> > turn off the indentation, the problem persists.
>
> are you sure you still get white space added if you say indent="no"
> that would be most odd.

You're right of course... :-) I hate to admit, but I didn't pay enough
attention to what I was doing. What happened was that I had an
<xsl:output method="html" version="4.0" encoding="iso-8859-1"
indent="no"/>
line in my main stylesheet and an
<xsl:output method="html" version="4.0" encoding="iso-8859-1"/>
line in an other, included stylesheet, and the latter setting (using the
default indent="yes" value) overwrote the former...
After I fixed the indentation issue in ALL included stylesheets it
finally works.
So now I have HTML output without indentation, but without rendering
errors also, so I'm happy. :-) As for that HTML not being pretty enough,
to be frank by now I don't give a damn. :-)

Thanks for everyone's help.

Regards:
		Andras Babos.

PS1: If I have the time I'll try to assemble a working sample of this
whitespace-insertion bug and send it to the Xalan-dev mailing list. It
is a bug after all...
PS2: Is there a tool to check whether my stylesheets are fully XSLT 1.0
conformant?

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.