<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 30, 2014 at 9:07 PM, Mark A. Greenwood <span dir="ltr"><<a href="mailto:m.greenwood@dcs.shef.ac.uk" target="_blank">m.greenwood@dcs.shef.ac.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":t2" class="a3s" style="overflow:hidden">And all these issues nicely illustrate why using a regexp to parse XML<br>


is a *really bad* :)</div></blockquote></div><br>For quick extraction of data it can be OK - I don't think anyone would actually try to parse XML with regex.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

In any case, I'd argue that it's less bad than <i>writing</i> XML using string concatenation :)</div></div>