I guess a wild card prefix would do as explained in my tutorial "Creating XHTML with XQuery", http://www.xmlplease.com/xquery-xhtml. for $x in collection(...)/*:path/*:to/*:node Cheers, Jesper Tverskov http://www.xmlplease.com