The anyURI built-in function is the XQuery function that applies to xs:anyURI instances. It is defined in XQuery 1.0 and XPath 2.0 Functions and Operators.