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

Re: XSL : how to turn <name> into <data elem="name">

Subject: Re: XSL : how to turn <name> into <data elem="name">
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Fri, 9 Feb 2001 10:06:28 -0000
Re:  XSL : how to turn <name> into <data elem="name">
On Thursday, February 08, 2001 11:57 PM
Peter Flynn wrote:

> At Thursday, 8 February 2001, Dave Pawson wrote:
>
> >> -----Original Message-----
> >> From: Michael Kay [mailto:mhkay@xxxxxxxxxxxx]
> >
> >> But I am slowly coming to the conclusion that XSLT has a
particular
> >> attraction to those who enjoy typing for its own sake.
> >
> >Wasnt' that one of the design goals of xml, from Tim Bray,
> >It must be readable, even if its verbose ;-)
>
> Certainly was: "terseness is of minimal importance". We had
> some fun with that but I think the expectations were that
>
>[ ... overview of the "terseness" issue in xml spec and practice]
>
> So I guess verbosity really doesn't matter. Unless you're
> a manager looking at improving the productivity of your
> development or editorial team.

Yes, but this thread wasn't originally about terseness in element
naming etc.

I wanted just to raise a small ? against Mike's comment on verbosity
of XSLT code . It's natural for people with his fluency and
understanding to see more elegant and/or efficient ways of expressing
things than most of us can manage. And it's instructive to be shown
how to condense our code (especially when the terser version expresses
the essential logic better). But I hope that doesn't deter people from
showing code that may be less than optimally terse. At school, there
were no marks for just putting down the right answer: you had to "show
your working".  Am I the only one here who actually learns from seeing
people's possibly verbose "working" as much as I do from the condensed
improved versions that are subsequently offered? And in fact,
sometimes I wouldn't appreciate the final version if I hadn't seen its
intentions unpacked first in a more expansive way.

Michael
------------------------------------------
Michael Beddow
http://www.mbeddow.net/


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


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.