how to compare anyURI with string in a xquery

hello there,

I defined a element with type xs:anyURI. How can I compare this value with a string in a xquery?

thank you in advance.

mz

Use the xs:anyURI constructor function to convert the string to a xs:anyURI value. See http://techcommunity.softwareag.com/ecosystem/documentation/crossvision/ins441/xqueryref/ref-xs_anyURI.htm