|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: A weaker XSL?
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@i... 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@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








