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