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

Re: XSLT use cases; data-centric todocument-centrictr

Subject: Re: XSLT use cases; data-centric todocument-centrictransformations
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 8 Feb 2005 14:10:12 GMT
how todocument
  IMHO, 'simplified stylesheets' are anything but simple and force the use
  of for-each over apply-templates - a bad thing when you are learning the
  language for the first time.  Whatever the good intentions of the
  language designers were, simplified stylesheets provide no real
  benefits: they don't scale, they aren't any easier to learn and they
  ingrain bad habits.  For people to really grasp XSLT the push style of
  processing really needs promoting first - maybe the identity transform
  should be the only stylesheet that is allowed to called a 'simplified
  stylesheet'?

Actually I don't think simplified stylesheets were intended to be simple
for beginners. As you point out they are pretty much useless when
writing stylesheets by hand. I believe that they are there for exactly
the reason mentioned at the start of this thread: graphical front ends
to templating languages at the time expected that the "template"
looked more or less like the final result document into which a few
(asp/jsp/whatever) instructions are inserted to dynamically fill in some
data. l-r-e-a-s provides a model of XSLT usage that more closely fits
that model and was (I think, I wasn't there) designed to encourage takup
of XSLT in that area.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread

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
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.