Subject: RE: [xsl] tag minimisation From: "Julian Reschke" <julian.reschke@xxxxxx> Date: Wed, 11 Sep 2002 10:16:53 +0200 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] tag minimisation, Andrew Welch | Thread | Re: [xsl] tag minimisation, David Carlisle |
RE: [xsl] tag minimisation, Andrew Welch | Date | Re: [xsl] tag minimisation, Andrew Welch |
Month |