wml_link_images function

transform an xml string with images references