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

Re: xsl compact syntax using xquery

Subject: Re: xsl compact syntax using xquery
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxx>
Date: Thu, 3 Apr 2014 11:00:16 -0400
Re:  xsl compact syntax using xquery
Mike S,

On Mon, Mar 31, 2014 at 9:49 PM, Michael Sokolov
<msokolov@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> I like to tell dot-and-curly-brace fans that XSLT syntax ends up as a
>> kind of "syntax coloring" for experienced users. We don't read the
>> tags any more: we can tell what's happening from scanning the match
>> patterns, select expressions, LREs, modes and a few other things; and
>> it turns out the verbosity of the XSLT tag set is weirdly conducive to
>> this kind of "in your head" compiling. Indeed, this verbosity may be
>> more apparent than real, since while XSLT claims screen space, the
>> list of possible elements in XSLT is actually quite short -- with the
>> result that for an experienced user, @match, @select and LREs really
>> jump out.
>
> I hear you, but it sounds to me like a post-hoc justification.  I really
> think I prefer the coloring to be stronger: I'd like the LRE's to look like
> XML and the rest to look like *code*.

Understood; nor do I mind XQuery or other syntax that takes this approach.

I also understand why you (or anyone) may take this remark as post-hoc
justification. However, it's not *intended* that way (at least if I am
in a position to judge my own intentions) so much as an observation
bearing on why XSLT's XML syntax doesn't bother some of us as much as
others might think it should.

Cheers, Wendell

-- 
Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
_____oo_________o_o___ooooo____ooooooo_^

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.