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

RE: tag minimisation

Subject: RE: tag minimisation
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Wed, 11 Sep 2002 10:16:53 +0200
RE:  tag minimisation
Well,

IE doesn't support XHTML. Dont try to feed it with it.

If you can't or don't want to use custom XSLT output methods, you'll
probably have to code the serializer yourself.

Julian

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Andrew Welch
> Sent: Wednesday, September 11, 2002 10:06 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  tag minimisation
>
>
>
> DC:
> > I fail to see why it is a problem at all,
>
> I add custom elements to the output based on the transform that is being
> performed at the time.  The app then post processes (sax parses) the
> output to extract the info Ive added to populate some of the features of
> the app.  As I need xml (xhtml) output, the html output will not do.
>
> So far so good, and everything works fine.
>
> The *only* problem comes from the browser (IE - no choice) failing to
> recognise <xxx/>.  Any expressions performed on a minimised element will
> crash IE, any styling given to a minimised element will be passed onto
> all elements that follow it.
>
> On large output files it can be a nightmare trying to locate which
> element has been minimised, then tracing it to the template that
> generated it and adding #160, purely to stop it getting minimised (which
> just seems rediculous).
>
> Its such a trivial, non essential thing that can cause so many problems,
> I fail to see why it is a problem to keep elements as <xx> </xx>, at
> least until browsers catch up.
>
> MK:
> >If you want XHTML, several processors including saxon have an output
> >method for XHTML that won't do tag minimisation except for elements
> >whose content model is EMPTY.
>
> That should hopefully do what I need.
>
> cheers
> andrew


 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.