blob: 5a72474e7b4676cfb43a08c030d70305e9f61e37 [file] [log] [blame]
(: Name: fn-namespace-uri-for-prefix-3 :)
(: Description: Evaluation of fn:namespace-uri-for-prefix function,with the first argument (prefix) set to the zero length string and element is directly constructed. :)
(: Use fn:string. :)
declare default element namespace "http://www.example.com/defaultspace";
(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)
let $var := <anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>
return
fn:string(fn:namespace-uri-for-prefix("",$var))