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

Re: Crazy idea: loopback namespace

Subject: Re: Crazy idea: loopback namespace
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 25 Feb 2000 16:42:24 GMT
xsl ternary
> 1) Verbose call template syntax 
yes, could you explain your original loopback idea (I didn't understand
it and then the thread wandered off topic:-)

>  Very verbose IF syntax. I really wish we had a ternary operator
you mean the following stylesheet design pattern.

a) write select expression for the simple case.
b) find for more general case need an if.
   Curse. Break out the query into an xsl:if expression.
c) Find that for full generality you need an else clause.
   Curse again. Change xsl:if to xsl:when, and wrap in xsl:choose.

Of course I have never been through these steps, as I always fully
specify my stylesheets before starting to code. Honestly:-)

3) No ability to generate intermediate XML and apply style rules to it.

xt (or saxon) node-set gives you that, doesn't it?
but it would be good to get it pushed back into the standard or at least
into an agreed common extension namespace if only to avoid nested
fallback coding of essentially the same functionality.

4) URLEncode should be a built-in
In theory you are not supposed to need that if writing to XML, as an XML
application is supposed to do any needed encoding as it passes the url
to the url system.
  <p>An XML processor should handle a non-ASCII character in a URI by
  representing the character in UTF-8 as one or more bytes, and then 
  escaping these bytes with the URI escaping mechanism (i.e., by
  converting each byte to %HH, where HH is the hexadecimal notation of the
  byte value).</p>

5) Need a GROUP BY operator.
Yes I suspect so.

David


 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.