|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Seek an XPath expression which concatenates an ar
On Fri, 2024-03-15 at 14:12 +0000, Martin Honnen martin.honnen@xxxxxx
wrote:
>
> B B B B B B fold-left(//binary-value, '', function($a, $b) { $a || $b
> })
A very minor note on this - i usually caution people in the classes i
run to include a literal string whenever they use ||
B B B B $a || $b || ""
The reason is human - in JavaScript, C, C++, Perl, Python, bash, awk,
many other
languages, B || is a boolean operation that mirrors &&, and if you look
quickly at an expression you can get very confused.
liam
--
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








