replace wmf links in xml document with png links