in reply to XML parsing vs regex
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.
|
|---|