in reply to How to find XML tags using regular expression

To echo what others are saying ... this is clearly an XML file, so you want to use an XML package.   There are several of these.   There are “simple parsers,” and there are also much more sophisticated ones ... including packages that let you write (industry standard) “XPath expressions” that can search an entire XML structure for you, with no special coding (on your part) at all.   “TMTOWTDI™” ... and the choice is yours.

Replies are listed 'Best First'.
Re^2: How to find XML tags using regular expression
by bart (Canon) on Feb 17, 2011 at 12:09 UTC
    this is clearly an XML file
    It is???