blob: eda8c1dc0c17ffdd3c46c39222425739da9997d3 [file] [log] [blame]
(: Name: fn-namespace-uri-23:)
(: Description: Evaluation of the fn:namespace-uri function with argument set to a direct element node with prefix that should not used the declared defaultnamespace attribute.:)
(: Use the string function.:)
declare default element namespace "http://www.example.com/examples";
declare namespace ex = "http://www.example.com/exampleswithPrefix";
(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)
fn:string(fn:namespace-uri(<ex:anElement>An Element Content</ex:anElement>))