blob: 068f7946f7397251e652562235be83975430d8a4 [file] [log] [blame]
(: Name: fn-base-uri-20 :)
(: Description: Evaluation of base-uri function with argument set to a directly constructed element node (via FLOWR expr). :)
(: Use the xml-base attribute and should ignore declared base uri property. :)
declare base-uri "http://example.org";
(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)
let $var := <anElement xml:base="http://www.examples.com">With some content</anElement>
return
fn:string(fn:base-uri($var))