Xatapult's XML Blog

05/04/2012

XQuery functions with side effects – How to handle?

Filed under: How-to,Tips and trics — xatapult @ 14:12
Tags:

XQuery is the language for working with XML databases. It can also be used as a general purpose language for working with XML.

If you have functions in XQuery with side effects (e.g. updating a log) that return something you don’t want to use, you have a serious problem. This blog explores this and proposes some solutions. (more…)

20/02/2012

XQuery Namespace Input eq Namespace Output?

Filed under: Opinion,Standards and guidelines — xatapult @ 07:07
Tags: ,

A few month ago I started my first serious programming project using XQuery (on eXist-db). Although the language is easy to master when you already know XPath, it has IMHO a few quirks. Here is, IMHO, the worst (more…)

Blog at WordPress.com.