for(final Entry<URI, List<FunctionSignature>> xqueryServiceFunctions : xqueryServices.entrySet()) {
writer.print(xqueryServiceFunctions.getKey() + FIELD_SEP);
final List<FunctionSignature> fnSigs = xqueryServiceFunctions.getValue();
for(int i = 0; i < fnSigs.size(); i++) {
final FunctionSignature fnSig = fnSigs.get(i);
writer.print(qnameToClarkNotation(fnSig.getName()) + ARITY_SEP + fnSig.getArgumentCount());
}
writer.println();
}
} catch(final IOException ioe) {
log.error(ioe.getMessage(), ioe);