Monday, July 11, 2011

Optional Attributes in XQuery

I have to return some optional attributes in a XQuery.
There are too many of them, so I cannot return a separate XML for each case. Things have to be done dynamically.

This post explains how:

It works like a charm! Yet I wish there was a simpler fact there is, just use Groovy XmlBuilder :o)

No comments: