I have following scenario: I have a XML-Document, e.g. like this
Your tag1 is invalid. It doesn't have closing >. Also the attributes should be quoted. It should look like this,
Try with the corrected XML. It should work.