XQuery & XPath users, watch out - i spent a day debugging!

Turns out in BaseX & i think XPath 4 (upcoming), `else` clauses are optional.

This is unexpected in an expression language -

`let $name := if ($p) then get-name($p)
return some-func($name)`

is the same as

`let $name := if ($p) then get-name($p) else ( )
return some-func($name)`

but in a multi-screen if/then/else it’s more likely you just forgot the else() or mismatched some parens.

#xquery #MarkupMonday #basex #xpath #xslt4

Work continues on XPath 4, XQuery 4, XSLT 4 - see https://qt4cg.org/ - but the focus has shifted to “getting it finished”i think. Although i wasn’t able to be as active as i wanted (and had a meeting conflict) i did write some proposals, some accepted and some not.

If you have concerns, now is teh time to voice them. Or sooner 🙂

#markupMonday #XML #XSLT #XSLT4 #XQuery #XQuery4 #XPath #XPath4

QT4 CG Homepage

Specifications, meeting logistics, and other information about the QT4 CG

QT4 CG Homepage
If I were to organize a small little session on #XSLT4 on #39c3, is there a single creature here that would be interested to join? (Please retoot for reach)

XSLT is a functional language for manipulating primarily tree-structured data and information, such as you might find in XML or JSON or HTML for example.

Someone recently asked me for an XSLT course that includes XSLT 4; usually i teach XSLT 3, the latest, but 4 is in preparation. It's not quite ready for production use, but if you want to be ahead of the curve the course might go ahead in the next month or two.

DM if interested.

#XSLT #XML #QT4 #XPath #XSLT3 #XPath3 #XSLT4 #XPath4 #XQuery4

@nirak i don’t run the courses often. I might try making a pre-recorded version. The one coming up i hope in December, maybe January now, is the first in almost a year. But get in touch when you're ready! I also run them on demand when i can. #xslt #xslt3 #xslt4 #course #barefootDiscount

#XSLT #XSLT4 #XML

An XSLT 3 course coming up later this month - https://www.delightfulcomputing.com/ - some space available.

Delightful Computing

XML and Web consulting, services, programming, scripting, training