title: xquery with namespaces
body: <p>I have wrote a xquery program to make a translation from one xml file to another. Everything goes right. But if I insert a namespace (directly as an attribute in the root element or with declare default element namespace "";) in xquery for the result my FLWOR-statment isn't considered. Then I receive an empty result set. Where is the problem? What should I do to become the result? Thanks for an answer.</p>
  
  <hr>
  
  <p>Thanks a lot for the answers. But this solves not really my problem. I try to formulate the problem clearer.
  The xquery program should convert gpx-files to kml-files. So I am concerned with two default namespaces. The default namespace xmlns="http://www.topografix.com/GPX/1/1" that is normally in the source document and the default namespace xmlns="http://www.opengis.net/kml/2.2" that should be in the result kml document. Has anybody an idea how to formulated this in xquery? Without the default namespace in the gpx and kml documents the program works fine, but all my gpx-files has the default namespace set and I also would like to have the respective default namespace in the kml files. How must I proceed? Thanks a lot.</p>