Help for this page

Select Code to Download


  1. 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/>
    
  2. or download this
    for my $remove ($frame->findnodes(q{/command/update/contact:update/con
    +tact:add})) {
        $remove->unbindNode;
    }
    
  3. or download this
    XPath error : Undefined namespace prefix
     error : xmlXPathCompiledEval: evaluation failed
    
  4. or download this
    sub new {
        my $package = shift;
    ...
    
        return $self;
    }
    
  5. 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/>
    +";
        }