blob: f06370cc83fdfe2166d964279142fb84c2380ce7 [file] [log] [blame]
(: Name: fn-resolve-qname-7 :)
(: Description: Evaluation of fn:resolve-qname function for which the give qname has a prefix and there is a namespace binding for the element. :)
(: uses fn:namespace-uri-from-QName to get local part. Element is given as direct element:)
(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)
fn:string(fn:namespace-uri-from-QName(fn:resolve-QName("P1:name", <anElement xmlns:p1="http://example.com/examples" xmlns:P1="http://someothernamespace.com/examples">Some content</anElement>)))