I currently haven't added any specific support for 'refine', but in my module, all XML information is preserved. You may need to determine it yourself for now. I have seen examples of using 'refine' like this:
http://docs.sourcefabric.org/project...ook.add_author
But I haven't decided yet whether to provide dedicated support for it.