Re: [xsl] Result still indented despite indent="no"

Subject: Re: [xsl] Result still indented despite indent="no"
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Mon, 21 Feb 2005 09:45:03 -0800 (PST)
Thank you David for explanation. It would therefore
mean, xsl:preserve-space is not usable in IE?

Lets hope, Microsoft responds to developer demands..

Regards,
Mukul

--- David Carlisle <davidc@xxxxxxxxx> wrote:

> 
>   But it shows a bug with xsl:preserve-space
>   instruction. Do you agree that it is bug?
> 
> It's not a bug in xsl:preserve-space (or any part of
> the XSLT engine), no.
> The bug is in the XML parser. But even there it's
> hard to say it's a
> bug as the XML spec is famously fuzzy on any kind of
> conformance or
> reporting requirements. Also XSLT does not require
> that the input is
> made by an xml parser. In the case of msxsl the
> input is an MSXML DOM
> object, whether that is made by parsing an XML file,
> or constructed via
> dom calls or by parsing (for Michael) a GEDCOM
> parser that generates a
> DOM, it doesn't matter to the XSLT engine. Given
> that input
> xsl:preserve-space and xsl:strip-space work as
> specified to preserve or
> remove white space nodes. But you can not preserve
> nodes that are not
> there.
> 
> 
>   You are saying IE 6's default setting for
>   preservewhitespace property is "false".
> 
> yes
> 
>    Is it possible to make it true? 
> 
> No. Not from the xml-stylesheet PI, if you call
> msxml from within
> javascript (or vbscript) within an html page, you
> can set it to
> anything you like.
> 
> 
>   It seems, its possible to change
> preserveWhiteSpace
>   property with script only. 
> 
> 
> exactly so, yes.
> 
> 
> 
>   I feel, this will cause problem to develop
>   cross-browser applications..
> 
> yes.
> 
> David




		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

Current Thread