Re: alternating tags in a list?

Subject: Re: alternating tags in a list?
From: Paul Prescod <paul@xxxxxxxxxxx>
Date: Tue, 15 Dec 1998 12:42:42 -0600
Brandon Ibach wrote:
> 
>    Scott has already addressed this issue, stating a very good case
> for the fact that Java support is relatively easy to come by, but even
> if it isn't an option, there are alternative ways to support
> Javascript/ECMAScript in a variety of environments.

The deeper issue isn't implementation, it is optimization and static
analysis. 

>    There are still plenty of browsers out there that don't support the
> DOM, 

I know of no browser that intends to implement XSL before the DOM.
Furthermore, any Javascript embedded in XSL would need an API for talking
about the document tree: the DOM. So JavaScript in XSL *requires* at least
a partial DOM implementation.

> not to mention that some of us may actually want to target print
> media, or more static online (such as PDF) formats.  Do you really want
> to eliminate any chance of XSL being a decent solution in these areas?

The point is the same. You're saying that XSL shouldn't implicitly depend
on the DOM because it might not be implemented, so it should explicitly
depend upon it. There is nothing to stop formatting software from
implementing a DOM pre- or post-process. This is common practice in the
generic markup world.

 Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
 http://itrc.uwaterloo.ca/~papresco

"Sports utility vehicles are gated communities on wheels" - Anon



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread