@Override
    public String getElementId() {
        return id;
    }
Don't end prefix mappings if we are at the root element. Leave the end
processing method to do this.
stroom-pipeline/src/main/java/stroom/pipeline/record/XMLRecordEmitter.java