using an XML parser instead of preg_match regular expression
added 1 commit
Compare with previous version