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