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

Re: Understanding why <tag></tag> is the way it is (wa

Subject: Re: Understanding why <tag></tag> is the way it is (was Re: IE Client side transformation issue)
From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx>
Date: Fri, 3 Aug 2007 20:37:34 +0200
Re:  Understanding why <tag></tag> is the way it is (wa
On 03/08/07, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> At 2007-08-03 19:19 +0200, Manfred Staudinger wrote:
> >On 03/08/07, Abel Braaksma <abel.online@xxxxxxxxx> wrote:
> > > There is a cdata-section-elements on xsl:output, but not a
> > > never-minimize-elements attribute or something similar.
> >There is no need for such an attribute, because MSXML3 handles
> >the two cases differently. If you specify in your stylesheet
> ><div style="display: none"/> it becomes <div style="display: none" />
> >(invalid html)
> >but
> ><div style="display: none"></div> becomes <div style="display: none"></div>
> >in the output.
> >
> >Note that there is _no_ need to using nbsp or xsl:comment to ensure
> >valid html !
>
> I disagree with your summary above based on my own experiences that
> when using the HTML serialization with MSXML and other tools.  The
> distinction you make is for XML serialization, not for HTML
> serialization.
Speaking only about serialization with MSXML this holds for both xsl:output
methods, XML and HTML. Why do you think its different for HTML?

Manfred

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.