in reply to XML parsing vs Regular expressions
Many an insane person started out sane, before they tried to use regular expressions on XML. While it starts easy, it very quickly descends into chaos. As a general rule if you are working with XML, use a module that uses a real XML parser of some kind, XML::LibXML can be complicated to learn but it is very fast and complete. XML::Twig is another fast tool, and it even includes a regular expression on XML tool...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: XML parsing vs Regular expressions
by Joost (Canon) on Feb 16, 2008 at 23:57 UTC |
In Section
Seekers of Perl Wisdom