- or download this
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.o
+rg/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:n
+s:epp-1.0 epp-1.0.xsd">
...
<contact:id>testaccount3</contact:id>
<contact:add/>
<contact:rem/>
- or download this
for my $remove ($frame->findnodes(q{/command/update/contact:update/con
+tact:add})) {
$remove->unbindNode;
}
- or download this
XPath error : Undefined namespace prefix
error : xmlXPathCompiledEval: evaluation failed
- or download this
sub new {
my $package = shift;
...
return $self;
}
- or download this
my $p = $frame->getElementsByTagName('contact:update');
foreach my $n ($p->[0]->childNodes()) {
$p->[0]->removeChild($n) if $n->toString(1) eq "<contact:add/>
+";
}