xmlwriter functions module for shellfire