in reply to Re: Namespace error when parsing with XML::LibXML
in thread Namespace error when parsing with XML::LibXML
Hi shriken,
thanks for your reply, it's my understanding also.
Anyway I added the following sed code to remove the additionnal namespace delcaration :
my $file = 'namespace.xml'; system('sed -i "s/http:\/\/www.exchangefortravel.org\/xft\/current //g +" '.$file);
The errors are gone, but now my XPATH expression doesn't return any nodes. Do you have any idea on what is going on ? Is it related to the namespace pb ?
Thanks for your help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Namespace error when parsing with XML::LibXML
by ikegami (Patriarch) on Oct 06, 2010 at 16:04 UTC |