Does Tamino 188.8.131.52 support “distinct-values” function? As I know, I don’t support it yet. Well I want to know if there is any plan to support it. Without it, I can not group xml data on Tamino.
the function distinct-values is currently not available in Tamino XQuery 4.
It is high on the priority list for the next version.
Under certain circumstances a workaround may be used with a self join like this:
declare namespace tf = “http://namespaces.softwareag.com/tamino/TaminoFunction”
for $b in input()/bib/book
where tf:getInoId(root($b)) eq
for $c in input()/bib/book
where $b/@year eq $c/@year
But be aware that such a complex construction is currently not optimized at all.