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

the "~" operator (was Re: Add id to next element)

Subject: the "~" operator (was Re: Add id to next element)
From: "Chris Papademetrious christopher.papademetrious@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 May 2022 01:45:12 -0000
the "~" operator (was Re:  Add id to next element)
Regarding

> I normally use (expr1, expr2)[1] as an if-then-else for expressions
evaluating to 0 or 1 node, but that arrow syntax is pretty neat. I should
start using it.

While researching the arrow operator, I came across Michael Kay's blog post
at

https://dev.saxonica.com/blog/mike/2020/11/19-arrow-expressions.html

and I want that ~ operator for within-expression and across-element streaming
soooo bad... I have so many xsl:variable chains I could clean up with that!

 - Chris

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.