Added code to delete xml:base attributes, to ensure that images are located relative to local dir