(: Name: fn-base-uri-10 :)
(: Description: Evaluation of base-uri function with argument set to a directly constructed Element node with base-xml argument (no escaping). :)
(: Use fn:string :)

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

fn:string(fn:base-uri(<anElement xml:base="http://www.example.com">Element content</anElement>))