Hi Marc,
thanks a lot for Origami, looks promising!
Looking forward to your blog post, Christian
On Sun, Nov 9, 2014 at 3:25 PM, Marc van Grootel marc.van.grootel@gmail.com wrote:
Hi,
I've just uploaded a small templating module to https://github.com/xokomola/origami
Currently tested for BaseX 8.0 beta b863b4f but I will test with the latest snapshot later.
With this module I wanted to see if there's a better way to do simple templating in pure XQuery taking advantage of the higher order functions that XQuery 3.0 offers. At the moment it only provides very simple selectors like "*" (match every element), "@*" matches every attribute and simple named elements and attributes.
At the moment it's BaseX specific but should be adaptable to other databases that support XQuery 3.0.
Happy to receive comments and improvements.
In an upcoming blog post I will provide some more info.
--Marc