handling of inline xml format and xml format

fix