If you will be able to fix code fast, in case XML change (spacing, additional attributes, etc), and this bug won't cause a disaster - use Regexp.
In my experience html/xml parsing with regexp can work for years without problem, and can be fixed fast in case of bug (if I can easy detect where bug is).
If you wan't something reliable - use XML parsing.
In reply to Re: XML parsing vs regex
by vsespb
in thread XML parsing vs regex
by derekstucki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |