Hi,

I am trying to pass QName to function as an argument, at that time I am
getting following error.

Static type error. Type 'element(*, xs:untyped)' cannot be cast to type
'xs:QName'.

Below is XQuery function calling
tryToPassQname($ele ,  QName('http://www.myCompany.com/20120831','location')
)

Below is a function signature :

tryToPassQname($item as node(), $qname as xs:QName) as xs:QName )


can any one tell me what's going on wrong over here ?

Thanks and Regards,
-- 
*Kunal Chauhan*
[email protected]
[+918655517141]
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to