OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: A weaker XSL?

[ Lists Home | Date Index | Thread Index ]
  • From: Pavel Velikhov <pvelikho@cs.ucsd.edu>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 04 Feb 1999 15:53:33 -0800

Clark Evans wrote:
> 
> Peter Seibel wrote:
> >
> > I'm not arguing that you can implement XSL so it uses no heap, just that
> > you could implement it on top of SAX rather than DOM. Or am I still missing
> > something?
> 
> I think you are echoing my belief.
> 
> Question: Is XSL defining "style" instructions
> or "composition" instructions.
> 
> Things like sorting, re-arranging, table-of-contents
> generation, etc. are really large processing instructions
> that are more along the line of *what* to process, rather
> than *how* the information should be presented. Things like
> this could be moved into XQL or some other transformation
> language, leaving XSL a more pure "style" oriented
> specification.

  But XSL is really turning into a query language for XML, not
just a stylesheet language. I completely agree that some lightweight
language is needed to do the basic presentation-oriented things.
Then the implementation could be made efficient, such things as
intelligent buffering of the input, lazy evaluation of the output 
document, optimization are really hard to do for a full blown 
query language, but are doable for a simple one.

> Thus XSL wouldn't be *generating* a table of contents,
> it would only let you choose if you want to display it,
> and if it is displayed, how it is displayed, in green
> ink or red, bold or itallic, Aa1i style or 1.1.1.1
> style, etc.
> 
> By doing this, a weaker XSL would have a much more
> clearly defined role, would be less subject to
> "feature creep", and could be implemented on top
> of SAX instead of assuming (and requiring) a full
> DOM implelementation.


  It will probably be orders of magnitude more efficient too.
And it will have a more clear and understandable role. IMHO
nobody wants to learn a bunch of highly expressive and pretty 
much general purpose languages for XML processing.

> Just $.02 
> ;) Clark Evans

Pavel Velikhov

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS