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

Re: Result still indented despite indent="no"

Subject: Re: Result still indented despite indent="no"
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Mon, 21 Feb 2005 09:45:03 -0800 (PST)
xsl preserve space bug
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

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.