note
belg4mit
There are lax XML parsers, they're called non-validating.
It is supposed to handle <code><foo /></code>
(as the comments indicate), but I negelected
to test that yet, and have posted prematurely.
I am working on it now, thank you.
<p>
<B>UPDATE</b>: This now works, it was meant to,
but that's what I get for not testing all cases...
As for generic I meant as opposed to [podmaster]'s
[http://perlmonks.org/index.pl?node_id=3989&words=substr+parser&author=podmaster&chosentypes=1980&sexisgood=submit&.cgifields=chosentypes|XML ticker parsers]
which also user [substr] but in a format dependent manner.
<p>
<tt>
-- <br>
perl -pew "s/\b;([mnst])/'$1/g"<br>
</tt>
164513
164517