modified result string to accept argument as <arg></arg> to allow for XML advantages such as newlines