I am using xmlin function of XML::Simple to parse XML data file. However, it reads the XML comments which i would like to ignore. How can this be accomplished. I think this can be done using XML::Twig but i would like to use XML::Simple
Here is a snippet of my code.
Any help would be greatly appreciated.$xmlObj = new XML::Simple (KeyAttr=>[], SuppressEmpty => 1); my $xmlFileKeyAttr = eval { $xmlObj->XMLin($file) };
In reply to How to ignore XML comments using XML::Simple by perlmonks_user
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |