Subject: Re: [xsl] zero width no-break space to prevent tag minimisation From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 17 Oct 2008 11:44:26 -0400 |
> 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?)
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] zero width no-break space, Andrew Welch | Thread | Re: [xsl] zero width no-break space, Andrew Welch |
Re: [xsl] How to query nodes whichs, G. Ken Holman | Date | Re: [xsl] Creating Hierarchy, Wendell Piez |
Month |