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

RE: tag minimisation

Subject: RE: tag minimisation
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Wed, 11 Sep 2002 11:47:41 +0100
RE:  tag minimisation
> > <br>'s aren't the problem, nor are <a> or <img>, as these generally
> > don't have styles. 
> 
> You are concentrating on css styling the problem with br etc 
> is greater
> they simply don't work at all if IE sees them in html mode as 
> <br></br>

Well that depends on how the serlialiser works - by preventing tag
minimisation I dont necessarily want elements whose content model is
EMPTY to be expanded.

I wouldn't write a literal result element such as <br /> as <br></br>,
so if the serialiser left that as <br /> all would be well.

LRE's should remain as they are written.

Elements that the serialiser finds to be empty should be left expanded
as well.

I guess it all comes down to if the serialiser can distinguish between
<foo/> and <foo></foo>.


> But if the intention is to produce something acceptble to legacy
> browsers, it doesn't work. XSLT2 draft gives you an xhtml 
> output mode as
> part of the standard and as Mike has said, some systems 
> already provide
> it as an extension.

Yeah, this looks like the answer.

Im guessing, but here is the xhtml serialiser aware of the elements that
are html, and as such knows not to minimise them - effectively what Im
talking about?

cheers
andrew

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.385 / Virus Database: 217 - Release Date: 04/09/2002
 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.