/dports/games/flightgear/flightgear-2020.3.11/scripts/perl/traffic/ |
H A D | xml2conf.pl | 54 my $AcMdl = $data->findnodes('./model'); 55 my $AcLvy = $data->findnodes('./livery'); 56 my $AcAln = $data->findnodes('./airline'); 57 my $AcHp = $data->findnodes('./home-port'); 59 my $AcTyp = $data->findnodes('./actype'); 60 my $AcO = $data->findnodes('./offset'); 61 my $AcRad = $data->findnodes('./radius'); 65 my $AcHvy = $data->findnodes('./heavy'); 71 my $FlRep = $data->findnodes('repeat'); 74 my $FlCs = $data->findnodes('callsign'); [all …]
|
/dports/sysutils/munin-contrib/contrib-c31cb28/plugins/weather/ |
H A D | buienradar_ | 98 …Regio ".$doc->findvalue($stationNode."/stationnaam/\@regio")." (".$doc->findnodes($stationNode."/s… 141 if($TMP eq "yes") { print "tmp.value ".$doc->findnodes($stationNode."/temperatuurGC/text()")."… 142 if($TMP10CM eq "yes") { print "tmp10cm.value ".$doc->findnodes($stationNode."/temperatuur10cm/text… 143 if($HUM eq "yes") { print "hum.value ".$doc->findnodes($stationNode."/luchtvochtigheid/text()"… 144 if($WSMS eq "yes") { print "wsms.value ".$doc->findnodes($stationNode."/windsnelheidMS/text()")… 145 if($WSBF eq "yes") { print "wsbf.value ".$doc->findnodes($stationNode."/windsnelheidBF/text()")… 146 if($AP eq "yes") { print "ap.value ".$doc->findnodes($stationNode."/luchtdruk/text()")."\n"; } 147 if($VIEW eq "yes") { print "view.value ".$doc->findnodes($stationNode."/zichtmeters/text()")."\… 148 if($GUSTS eq "yes") { print "gusts.value ".$doc->findnodes($stationNode."/windstotenMS/text()").… 149 if($RAIN eq "yes") { print "rain.value ".$doc->findnodes($stationNode."/regenMMPU/text()")."\n"…
|
/dports/print/latex-biber/biber-2.1/lib/Biber/LaTeX/ |
H A D | Recode.pm | 129 foreach my $map ($maps->findnodes('map')) { 130 my $from = $map->findnodes('from')->shift(); 131 my $to = $map->findnodes('to')->shift(); 146 foreach my $map ($maps->findnodes('map')) { 147 my $from = $map->findnodes('from')->shift(); 148 my $to = $map->findnodes('to')->shift(); 153 my $from = $map->findnodes('from')->shift(); 154 my $to = $map->findnodes('to')->shift(); 158 foreach my $map ($maps->findnodes('map[from[@raw]]')) { 159 my $from = $map->findnodes('from')->shift(); [all …]
|
/dports/textproc/p5-XML-LibXML/XML-LibXML-2.0207/t/ |
H A D | 08findnodes.t | 9 # to test if findnodes works. 24 my @list = $elem->findnodes( "species" ); 30 my @slist = $node->findnodes( "humps" ); 88 my @a = $root->findnodes('//a:foo'); 93 my @b = $root->findnodes('//b:bar'); 98 my @none = $root->findnodes('//b:foo'); 123 my @ns = $root->findnodes('namespace::*'); 177 my @list = $doc->findnodes( '//A' ); 183 @list = $doc->findnodes( '//B' ); 216 my @list = $root->findnodes( "B" ); [all …]
|
H A D | 32xpc_variables.t | 26 $variables{c} = XML::LibXML::XPathContext->new($doc)->findnodes('//bar'); 35 $variables{d} = XML::LibXML::XPathContext->new($doc)->findnodes('/*')->pop; 52 $variables{g} = XML::LibXML::XPathContext->new($doc)->findnodes('/')->pop; 78 ok($xc->findnodes('//@a[.=$b]')->size() == 1, ' TODO : Add test name'); 80 ok($xc->findnodes('//@a[.=$b]')->size() == 1, ' TODO : Add test name'); 82 ok($xc->findnodes('$c')->size() == 2, ' TODO : Add test name'); 84 ok($xc->findnodes('$c')->size() == 2, ' TODO : Add test name'); 88 ok($xc->findnodes('$c[@a="b"]')->size() == 1, ' TODO : Add test name'); 90 ok($xc->findnodes('$d')->size() == 1, ' TODO : Add test name'); 92 ok($xc->findnodes('$d/*')->size() == 2, ' TODO : Add test name'); [all …]
|
H A D | 31xpc_functions.t | 39 my ($foo)=$xc->findnodes('(//*)[2]'); 42 ok($xc->findnodes('foo:copy(//*)[2]')->pop->isSameNode($foo), ' TODO : Add test name'); 105 $xc->registerFunction('test-lock2', sub { $xc->findnodes('//bar') }); 120 ok($xc->findnodes('test-lock2()[2]')->pop()->isSameNode($xc->findnodes('//bar[2]')), ' TODO : Add t… 122 $xc->registerFunction('test-lock3', sub { $xc->findnodes('test-lock2(//bar)') }); 141 my ($test_node) = $xc->findnodes('new-foo()'); 149 ok($xc->findnodes('new-chunk()')->size() == 3, ' TODO : Add test name'); 150 my ($x)=$xc->findnodes('new-chunk()/parent::*'); 165 [$largedoc->findnodes('(//*)')] 168 $xc->registerVarLookupFunc( sub { [$largedoc->findnodes('(//*)')] }, undef); [all …]
|
/dports/mail/p5-Mail-DMARC/Mail-DMARC-1.20190308/lib/Mail/DMARC/Report/ |
H A D | Receive.pm | 241 foreach my $record ( $dom->findnodes("/feedback/record") ) { 259 $node->findnodes("./$n")->string_value ); 262 my $rid = $node->findnodes("./report_id")->string_value; 273 $node->findnodes("./date_range/$n")->string_value ); 276 foreach my $n ( $node->findnodes("./error") ) { 288 my $val = $node->findnodes("./$n")->string_value or next; 305 $node->findnodes("./row/$r")->string_value 331 $node->findnodes("./identifiers/$i")->string_value 360 foreach ( $node->findnodes("./auth_results/spf") ) { 376 foreach ( $node->findnodes("./auth_results/dkim") ) { [all …]
|
/dports/print/latex-biber/biber-2.1/lib/Biber/Input/file/ |
H A D | biblatexml.pm | 366 my $node = $entry->findnodes("./$f")->get_node(1); 381 foreach my $node ($entry->findnodes("./$f")) { 401 foreach my $node ($entry->findnodes("./$f")) { 430 foreach my $node ($entry->findnodes("./$f")) { 442 foreach my $node ($entry->findnodes("./$f")) { 490 foreach my $node ($entry->findnodes("./$f")) { 498 my $end = $node->findnodes("./$NS:end"); 550 foreach my $node ($entry->findnodes("./$f")) { 600 not $node->findnodes("./$NS:last")) { 744 if (my $e = $rangenode->findnodes("./$NS:end")) { [all …]
|
H A D | zoterordfxml.pm | 200 foreach my $entry ($xpc->findnodes("/rdf:RDF/*")) { 398 if (my @t = $entry->findnodes($target)) { 419 map {$_->unbindNode} $entry->findnodes($field); 470 foreach my $f (uniq map {$_->nodeName()} $entry->findnodes('*')) { 494 my $partof = $entry->findnodes($f)->get_node(1); 523 foreach my $id_node ($entry->findnodes($f)) { 535 if (my $org = $entry->findnodes("./$f/foaf:Organization")->get_node(1)) { 538 if (my $adr = $org->findnodes('./vcard:adr')->get_node(1)) { 543 if (my $adr = $org->findnodes('./foaf:name')->get_node(1)) { 553 if (my $conf = $entry->findnodes("./$f/bib:Conference")->get_node(1)) { [all …]
|
/dports/textproc/p5-XML-LibXML/XML-LibXML-2.0207/example/ |
H A D | xmllibxmldocs.pl | 59 my ( $bookinfo ) = $doc->findnodes( "//bookinfo" ); 65 my @chapters = $doc->findnodes( "//chapter" ); 119 my ( $version ) = $infonode->findnodes( "edition" ); 124 my @copyright = $infonode->findnodes( "copyright" ); 161 my ( $abbr ) = $chapter->findnodes( "titleabbrev" ); 291 my @items = $node->findnodes( "listitem" ); 303 my @items = $node->findnodes( "listitem" ); 418 my @items = $node->findnodes( "listitem" ); 428 my @items = $node->findnodes( "listitem" ); 447 my ( $term ) = $node->findnodes( "term" ); [all …]
|
/dports/textproc/p5-XML-Twig/XML-Twig-3.52/t/ |
H A D | xmlxpath_31vars.t | 24 my @nodes= $t->findnodes('/data/employees/employee[@salary=$salary]/name'); 30 my @nodes = $t->findnodes('$E[work_area/street = $A]/name'); 35 my @nodes= $t->findnodes('/data/employees/employee[@org=$org]/name'); 40 my @nodes= $t->findnodes('/data/employees/employee[@org=$org]/name'); 51 my @nodes= $te->findnodes('/employees/employee[@salary=$salary]/name'); 59 my @nodes = $te->findnodes('$E[work_area/street = $A]/name'); 64 my @nodes= $te->findnodes('/employees/employee[@org=$org]/name'); 69 my @nodes= $te->findnodes('/employees/employee[@org=$org]/name');
|
H A D | xmlxpath_21allnodes.t | 19 @nodes = $t->findnodes( '//GGG/ancestor::*'); 22 @nodes = $t->findnodes( '//GGG/descendant::*'); 25 @nodes = $t->findnodes( '//GGG/following::*'); 31 @nodes = $t->findnodes( '//GGG/preceding::*'); 35 @nodes = $t->findnodes( '//GGG/self::*'); 39 @nodes = $t->findnodes( '//GGG/ancestor::* | //GGG/descendant::* | //GGG/following::* | //GGG/prece…
|
H A D | xmlxpath_24namespaces.t | 27 @nodes = $t->findnodes('//foo:foo', $t); # should find foobar.com foos 30 @nodes = $t->findnodes('//goo:foo', $t); # should find no foos 33 @nodes = $t->findnodes('//foo', $t); # should find default NS foos 45 @nodes = $t->findnodes('//foo:foo', $t); # should find flubber.com foos 48 @nodes = $t->findnodes('//goo:foo', $t); # should find foobar.com foos 51 @nodes = $t->findnodes('//foo', $t); # should find default NS foos
|
H A D | xmlxpath_05attrib.t | 15 my @ids = $t->findnodes( '//BBB[@id]'); 18 my @names = $t->findnodes( '//BBB[@name]'); 21 my @attribs = $t->findnodes( '//BBB[@*]'); 24 my @noattribs = $t->findnodes( '//BBB[not(@*)]');
|
H A D | xmlxpath_12axisdescendant.t | 19 @nodes = $t->findnodes( '/descendant::*'); 22 @nodes = $t->findnodes( '/AAA/BBB/descendant::*'); 25 @nodes = $t->findnodes( '//CCC/descendant::*'); 28 @nodes = $t->findnodes( '//CCC/descendant::DDD');
|
/dports/dns/p5-Net-DNS-TestNS/Net-DNS-TestNS-1.10/ |
H A D | TestNS.pm | 106 foreach my $server ($root->findnodes('server')){ 114 foreach my $qname ($server->findnodes('qname')){ 150 my @header= $qtype->findnodes('header'); 153 my @rcode=$header[0]->findnodes('rcode'); 185 my @raw=$qtype->findnodes('raw'); 194 foreach my $ans ($qtype->findnodes('ans')){ 206 foreach my $ans ($qtype->findnodes('aut')){ 218 foreach my $ans ($qtype->findnodes('add')){ 231 if ( my @opt=($qtype->findnodes('opt'))){ 238 my @flag=$opt[0]->findnodes('flag'); [all …]
|
/dports/textproc/p5-XML-DOM-XPath/XML-DOM-XPath-0.14/t/ |
H A D | xmlxpath_24namespaces.t | 19 @nodes = $t->findnodes('//foo:foo', $t); # should find foobar.com foos 22 @nodes = $t->findnodes('//goo:foo', $t); # should find no foos 25 @nodes = $t->findnodes('//foo', $t); # should find default NS foos 41 @nodes = $t->findnodes('//foo:foo', $t); # should find flubber.com foos 44 @nodes = $t->findnodes('//goo:foo', $t); # should find foobar.com foos 47 @nodes = $t->findnodes('//foo', $t); # should find default NS foos
|
H A D | xmlxpath_21allnodes.t | 14 @nodes = $t->findnodes( '//GGG/ancestor::*'); 17 @nodes = $t->findnodes( '//GGG/descendant::*'); 20 @nodes = $t->findnodes( '//GGG/following::*'); 24 @nodes = $t->findnodes( '//GGG/preceding::*'); 28 @nodes = $t->findnodes( '//GGG/self::*'); 32 @nodes = $t->findnodes( '//GGG/ancestor::* | //GGG/descendant::* | //GGG/following::* | //GGG/prece…
|
/dports/textproc/p5-XML-XPath/XML-XPath-1.44/t/ |
H A D | 21allnodes.t | 11 @nodes = $xp->findnodes('//GGG/ancestor::*'); 14 @nodes = $xp->findnodes('//GGG/descendant::*'); 17 @nodes = $xp->findnodes('//GGG/following::*'); 21 @nodes = $xp->findnodes('//GGG/preceding::*'); 25 @nodes = $xp->findnodes('//GGG/self::*'); 29 @nodes = $xp->findnodes('//GGG/ancestor::* |
|
H A D | remove.t | 14 my ($root) = $xp->findnodes('/'); 19 my @nodes = $xp->findnodes('//Cart',$root); 25 @nodes = $xp->findnodes('//Cart', $root); 30 @nodes = $xp->findnodes('//Cart/@*', $root); 34 @nodes = $xp->findnodes('//Cart/@*', $root);
|
H A D | insert.t | 14 my ($root) = $xp->findnodes('/'); 19 my @nodes = $root->findnodes('//Cart'); 31 @nodes = $xp->findnodes('/Shop/node()'); 40 my ($before) = $xp->findnodes('/Shop/comment()[contains( string() , "Before")]'); 43 my ($after) = $xp->findnodes('/Shop/comment()[contains( string() , "After")]');
|
H A D | 12axisdescendant.t | 11 @nodes = $xp->findnodes('/descendant::*'); 14 @nodes = $xp->findnodes('/AAA/descendant::*'); 17 @nodes = $xp->findnodes('/AAA/BBB/descendant::*'); 20 @nodes = $xp->findnodes('//CCC/descendant::*'); 23 @nodes = $xp->findnodes('//CCC/descendant::DDD');
|
H A D | 24namespaces.t | 14 @nodes = $xp->findnodes('//foo:foo'); # should find foobar.com foos 17 @nodes = $xp->findnodes('//goo:foo'); # should find no foos 20 @nodes = $xp->findnodes('//foo'); # should find default NS foos 29 @nodes = $xp->findnodes('//foo:foo'); # should find flubber.com foos 33 @nodes = $xp->findnodes('//goo:foo'); # should find foobar.com foos 36 @nodes = $xp->findnodes('//foo'); # should find default NS foos
|
/dports/databases/p5-SQL-Translator/SQL-Translator-1.62/lib/SQL/Translator/Parser/XML/ |
H A D | SQLFairy.pm | 108 my @nodes = $xp->findnodes( 127 my @nodes = $xp->findnodes('sqlf:fields/sqlf:field',$tblnode); 166 @nodes = $xp->findnodes('sqlf:constraints/sqlf:constraint',$tblnode); 178 @nodes = $xp->findnodes('sqlf:indices/sqlf:index',$tblnode); 189 @nodes = $xp->findnodes('sqlf:comments/sqlf:comment',$tblnode); 200 @nodes = $xp->findnodes( 213 @nodes = $xp->findnodes( 244 @nodes = $xp->findnodes(
|
/dports/www/p5-Net-Amazon-AWIS/Net-Amazon-AWIS-0.36/lib/Net/Amazon/ |
H A D | AWIS.pm | 42 foreach my $node ( $xpc->findnodes("//CategoryData") ) { 53 foreach my $node ( $xpc->findnodes("//RelatedLink") ) { 92 foreach my $node ( $xpc->findnodes("//Site") ) { 121 foreach my $node ( $xpc->findnodes("//MetaData") ) { 124 foreach my $subnode ( $xpc->findnodes( ".//OtherUrl", $node ) ) { 129 foreach my $subnode ( $xpc->findnodes( ".//Image", $node ) ) { 133 foreach my $subnode ( $xpc->findnodes( ".//Link", $node ) ) { 185 foreach my $node ( $xpc->findnodes("//TrafficHistory/HistoricalData/Data") ) { 240 if ( $xpc->findnodes("//Error") ) {
|