Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This is the XML it will use:
- # <testsuite name="LDAPConfigurationTest">
- # <activateModules>NO</activateModules>
- # <base>ISM</base>
- # <folder>LDAP/Cx/configuration</folder>
- # <genConfiguraModules>ISM:SDA:AVG</genConfiguraModules>
- # <modules>ISM:SDA:AVG</modules>
- # </testsuite>
- my $results = $doc->findnodes('//testsuite[@name="LDAPConfigurationTest"]');
- my @res = $results->get_nodelist;
- foreach my $context (@res)
- {
- print $context->textContent();
- print "hi";
- print $context->nodeName;
- }
- #result:
- NO
- ISM
- LDAP/Cx/configuration
- ISM:SDA:AVG
- ISM:SDA:AVG
- hitestsuite
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement