[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Application Design

  • From: Paul Tchistopolskii <pault12@p...>
  • To: xml-dev@l...
  • Date: Sun, 12 Aug 2001 17:57:56 -0700

alternatives to xslt

> > I think that the problem with XSLT is that  XSLT
> > is often misleading, pretending to be more
> > 'powerful' and 'portable'  than it actually is.
> 
> I don't think 'hype' is the problem at all.  The 20% part of XSLT is easy to
> learn too, so learning curve is not the problem either.  

I agree. However, I wanted to say that from my point of view , 
because of the hype,  there is a  real problem to find out 
what particular 20% of XSLT to learn and use.

> The problem is that there is no real need to learn XSLT.  

I disagree. I'd say that at the moment, XSLT is the 'only'
existing *scripting*  language for simple server side 
processing of XML.

XSLT has some place. The place is like 'sed + grep', or 
something like that. Well, 100% conformant XSLT is 
a bad 'sed' and it is a bad 'grep', but with saxon:evaluate, 
XSLT makes a 'real' grep and almost 'real' sed.

What are the scripting server-side alternatives to XSLT ?

- Matt's XPathScript is "perl only"
- Omnimark ... is ... well ... proprietary and too complex
- SAX / DOM  are too low level for sed-alike trivial tasks

Somehing like DOMScript could be nice, but I'm not aware 
of such a thing. Maybe it does exist...

XSLT is 'the only' scripting engine for trivial server-side 
XML processing. It has *plenty* of problems, but for some 
tasks it is better, than nothing.

> Observe that:
> 
> 1. People had to learn HTML and JavaScript because there were no
> alternatives.
> 2. Learning HTML and JavaScript lead directly to XML and DOM.
> 3. Learning an API like DOM is far easier to learn a new declarative
> language like XSLT.
> 4. Once you learned DOM, there is no real need to learn XSLT.

If you're talking about the client side, I agree ( in fact, 
this view have been presented by Mr. Leventhal two+ 
years ago and I think it still remains valid.)

However, on a server side, writing a chunk of low-level DOM code 
just to reorder / rename some attributes looks like an overkill.

> While DOM-based solutions are harder to implement and maintain, there are
> plenty of people available with DOM expertise.   This is not true for XSLT.
> Even if XSLT become universally available in browsers, JavaScript and DOM
> combination will be the preferred method of implementation.

You're talking 'client side'. I agree.

Rgds.Paul.




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.