XML is not a regular language (that's a technical term) so you will never be able to parse it correctly using a regular expression. You might be successful 99% of the time, but then someone will find a way of writing the XML that throws you.
If you're writing some kind of screen-scraper then a 99% success rate might be adequate. For most applications, it isn't.