blob: 6d5bc2819b918218e7a647039bbcbd702e955dd5 [file] [log] [blame]
(: Name: LocalNameFromQNameFunc019 :)
(: Description: Test function fn:local-name-from-QName. Conditional expression as parameter where both branches result in QName value :)
declare default element namespace "http://www.example.com/QNameXSD";
(: insert-start :)
declare variable $input-context external;
(: insert-end :)
fn:local-name-from-QName(
if( true() ) then fn:QName("http://www.example.com/QNameXSD", xs:string(($input-context/root/elemQN)[1]))
else fn:QName("http://www.example.com/QNameXSD", xs:string(($input-context/root/@attrQN)[1]))
)