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

Re: zero width no-break space to prevent tag minimisat

Subject: Re: zero width no-break space to prevent tag minimisation
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 17 Oct 2008 09:27:31 +0100
Re:  zero width no-break space to prevent tag minimisat
2008/10/16 Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>:
> Andrew,
>
> You've said you can't use the insert-a-comment workaround, although you
> haven't said why.

The comments are stripped out at a later stage, followed by more
stages of parsing/serialising which cause the then empty element to
use the empty element syntax...

> Would the reason you can't also preclude your using a similar hack, such as
>
> <div><span/></div>

Good idea... seems too simple :)  I'm trying to think back - why isn't
this the standard approach?  (why do we bother with inserting
comments, #160s etc?)



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

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.