Help for this page

Select Code to Download


  1. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <instruction_request xmlns="http://www.somedomain.tld/market_reg/admin
    +_server/1.0"
    ...
            </info_request>
        </request>
    </instruction_request>
    
  2. or download this
    use strict;
    use warnings;
    ...
      . $action_requests->get_node(4)->nodeName() . "\"\n";
    print 'To node value is "'
      . $action_requests->get_node(4)->textContent() . "\"\n";
    
  3. or download this
    $perl newxmltest.pl
    request: action_request: action: instance_information: application_typ
    +e: application_name: environment: application_host_ip: application_ho
    +st_name: request: action_request: action: instance_information: appli
    +cation_type: application_name: environment: application_host_ip: appl
    +ication_host_name: request: info_request: action: XML::LibXML::Elemen
    +t
    ...
    Use of uninitialized value in concatenation (.) or string at newxmltes
    +t.pl line 127.
    To literal of action requests is ""
    Can't call method "nodeName" on an undefined value at newxmltest.pl li
    +ne 129.