How do I use values of type xs:QName?
There are a couple of ways to create an xs:QName item in a query: • You can use the xs:QName() constructor function to create a QName in your query. In this case you will need to make sure you have bound a namespace URI for the prefix that you use: declare namespace foo=”http://foo”; xs:QName(“foo:bar”) • You can use the form of the xs:QName() function that takes two arguments.