public void initializeNamespaceMaps() {
//When the transformation record is created, initialize the namespace resolver
//to contain the namespaces from the current state of the owning record.
//Start at the root and work down.
UnmarshalNamespaceResolver unmarshalNamespaceResolver = owningRecord.getUnmarshalNamespaceResolver();
for(String prefix : unmarshalNamespaceResolver.getPrefixes()) {
resolver.put(prefix, unmarshalNamespaceResolver.getNamespaceURI(prefix));
}
}