sumeetgrover has asked for the wisdom of the Perl Monks concerning the following question:
Good Morning!
I am debugging a complex legacy code that uses XML::Parser module and I haven't used this module before.
In this code, one of the XML elements looks like this:
<Title>Company A&B Information</Title>
Now, the problem that's happening is that when the parser extracts text from this element, it extracts 'B Information'. I have found that the & is causing some trouble because of which the initial part of the text, i.e. Company A& gets ignored by the parser.
Any ideas about why XML::Parser would do this? I'd appreciate any help. Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: XML::Parser - Usage of &
by tobyink (Canon) on Feb 20, 2013 at 11:10 UTC | |
by sumeetgrover (Monk) on Feb 20, 2013 at 11:19 UTC | |
by tobyink (Canon) on Feb 20, 2013 at 12:35 UTC | |
by sumeetgrover (Monk) on Feb 20, 2013 at 14:53 UTC | |
by runrig (Abbot) on Feb 20, 2013 at 19:57 UTC | |
Re: XML::Parser - Usage of &
by Anonymous Monk on Feb 20, 2013 at 11:09 UTC | |
Re: XML::Parser - Usage of &
by sundialsvc4 (Abbot) on Feb 20, 2013 at 15:43 UTC |
Back to
Seekers of Perl Wisdom