This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Andrew Welch
> Sent: Wednesday, September 11, 2002 10:06 AM
> To: xsl-list@lists.mulberrytech.com
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]