// return the empty sequence
return Sequence.EMPTY;
}
};
Namespace integrationNamespace = Namespace.literal("integration");
// register this function with the expression context
context.registerFunction(
new ImmutableExpandedName(
integrationNamespace.getURI(),
"emptySequence"),
emptySequenceFn);
// ensure the prefix tracker is aware of this namespace
NamespacePrefixTracker tracker = context.getNamespacePrefixTracker();
tracker.startPrefixMapping(integrationNamespace.toString(),
integrationNamespace.getURI());
}