printQueryForm(output, query, path, ns);
output.print("<br />\n");
output.flush();
if (query.length() > 0) { // print result
NamespaceMap nsMap = new NamespaceMap();
int index = 0;
for (int i = 0; i < nsSize; i++) {
nsMap.setNamespace(ns[index++], ns[index++]);
}
try {
NodeSet result = col.queryCollection("XPath", query, nsMap);
printQuery(result, output, query, path);
} catch (DBException e) {