Returns three values: the start and end positions of contents between the xml tags and the position following the close of the end tag.