File: Data.xml
1446
0002
name 2
File: Query.xquery
xmlns:prod="http://rntsoft.com/prod"
xmlns:rep="http://rntsoft.com/report"> {
doc("Data.xml")/order/prod:car
}
Output:
xmlns="http://rntsoft.com/cat">
0002
name 2