aqua:
Editing the XML may have been a bad idea. When I downloaded it and ran xmllint on it, it reported a couple of problems. After correcting them and running your program, everything seem so to "do something" until you get to the last line, which you marked "not working".
When I ran it, I saw that the error message was:
Can't locate object method "to_String" via package "XML::LibXML::XPathContext" at 1054227.pl line 70.If you had listed the error message, I'm sure several people could have told you what the error was *without* even downloading your program.
Where in the docs does it say that an XML::LibXML::XPathContext has a to_String method?
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: How to make use of dynamic namespace registration to replace the values of elements and attributes using XML::LibXML::XPathContext xml module
by roboticus
in thread How to make use of dynamic namespace registration to replace the values of elements and attributes using XML::LibXML::XPathContext xml module
by aqua
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |