xquery version "3.1"; let $schemaCollection := "/db/apps/schemas" return collection($schemaCollection)/xs:schema/distinct-values(@targetNamespace)
does not eliminate duplicates xquery version "3.1"; let $schemaCollection := "/db/apps/schemas" return collection($schemaCollection)/xs:schema/@targetNamespace => distinct-values() does. I checked this in Saxon and exist-db XQuery, both return the same results so this may be how it's supposed to work but I don't get it.
_______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
