Hi,

I have a function with annotations such that the same annotation is used
twice but with different values.
Unfortunately xdmp:annotation returns only the values of the first
annotation. Is it somehow possible to get both values? It would be great if
the API would support this.

Example:
xquery version "1.0-ml";

declare
   %local:foo("value1")
   %local:foo("value2")
function local:hello() {
    ()
};

xdmp:annotation(local:hello#0, xs:QName("local:foo"))

This returns only "value1", but not "value2".

Regards,
Andreas

-- 
Andreas Hubmer
IT Consultant

EBCONT enterprise technologies GmbH
Millennium Tower
Handelskai 94-96
A-1200 Vienna

OUR TEAM IS YOUR SUCCESS

UID-Nr. ATU68135644
HG St.Pölten - FN 399978 d
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to