File: Data.xml 0001 name 1 0002 name 2 0003 name 3 File: Query.xquery car order A huge list of {count(doc("Data.xml")//car)} cars.Output: car order A huge list of 3 cars.
A huge list of {count(doc("Data.xml")//car)} cars.
A huge list of 3 cars.