[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: alternatives to XSL (was RE: Microsoft extensions)


Subject: Re: alternatives to XSL (was RE: Microsoft extensions)
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Thu, 12 Nov 1998 08:26:36 -0600

James Robertson wrote:
> 
> So, yes, Omnimark does allow you to consider an XML document
> as a tree. And the advantage of something like Omnimark (versus
> XSL) is that it's a full programming language. This makes it
> a lot more expressive and powerful.

In something like Python, Jade or Balise, I can say:

Document.ElementWithId( current.Attribute["TARGET"] ).Children[2:5]

(obviously, syntax varies WIDELY)

to get the second through fifth child of the element whose ID attribute is
the same as the value of the current node's "TARGET" attribute. To me,
that's what a high-level SGML processing language is about...

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

At today's pop doubling rates, in 100 years there will be 20 billion
people, more than enough to fill the earth. In 300 years, we will have
filled up 16 earth-sized planets (roughly, our solar system). In 2300
years we will have filled up 200 billion earth-sized planets (roughly,
our galaxy). Only one technology can save us: birth control.


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



Current Thread
Keywords
xml