Searched refs:XPath (Results 26 - 50 of 97) sorted by relevance

1234

/macosx-10.9.5/CPANInternal-140/XML-XPath/XPath/Node/
H A DComment.pm3 package XML::XPath::Node::Comment;
8 @ISA = ('XML::XPath::Node');
10 package XML::XPath::Node::CommentImpl;
13 @ISA = ('XML::XPath::NodeImpl', 'XML::XPath::Node::Comment');
14 use XML::XPath::Node ':node_keys';
20 my $pos = XML::XPath::Node->nextPos;
H A DAttribute.pm3 package XML::XPath::Node::Attribute;
8 @ISA = ('XML::XPath::Node');
10 package XML::XPath::Node::AttributeImpl;
13 @ISA = ('XML::XPath::NodeImpl', 'XML::XPath::Node::Attribute');
14 use XML::XPath::Node ':node_keys';
20 my $pos = XML::XPath::Node->nextPos;
80 XML::XPath::Node::XMLescape($self->[node_value], '"&><'),
H A DNamespace.pm3 package XML::XPath::Node::Namespace;
8 @ISA = ('XML::XPath::Node');
10 package XML::XPath::Node::NamespaceImpl;
13 @ISA = ('XML::XPath::NodeImpl', 'XML::XPath::Node::Namespace');
14 use XML::XPath::Node ':node_keys';
20 my $pos = XML::XPath::Node->nextPos;
69 $string .= XML::XPath::Node::XMLescape($self->[node_expanded], '"&<');
/macosx-10.9.5/CPANInternal-140/XML-XPath/examples/
H A Dxpath15 use XML::XPath;
27 $xpath = XML::XPath->new(filename => shift(@ARGV));
30 $xpath = XML::XPath->new(ioref => \*STDIN);
35 unless ($nodes->isa('XML::XPath::NodeSet')) {
44 goto NOTNODES unless $nodes->isa('XML::XPath::NodeSet');
68 my $newnodes = XML::XPath::NodeSet->new;
74 if ($new->isa('XML::XPath::NodeSet')) {
/macosx-10.9.5/WebCore-7537.78.1/xml/
H A DXPathExpressionNode.cpp34 namespace XPath { namespace in namespace:WebCore
H A DXPathUtil.h37 namespace XPath { namespace in namespace:WebCore
H A DXPathVariableReference.cpp34 namespace XPath { namespace in namespace:WebCore
H A DXPathVariableReference.h33 namespace XPath { namespace in namespace:WebCore
H A DXPathExpression.h42 namespace XPath { namespace in namespace:WebCore
57 XPath::Expression* m_topExpression;
H A DXPathFunctions.h34 namespace XPath { namespace in namespace:WebCore
52 } // namespace XPath
H A DXPathEvaluator.cpp39 using namespace XPath;
/macosx-10.9.5/ruby-104/ruby/test/rexml/
H A Dtest_order.rb25 @items = REXML::XPath.match(@doc,'//x')
39 items = REXML::XPath.match( d, '//x' )
44 items = REXML::XPath.match( d, '//y' )
99 REXML::XPath.each( doc, "//Placemark") { |element|
H A Dtest_preceding_sibling.rb25 XPath.each(@@docDd, "//b[@x='ab02A']/preceding-sibling::b/child::*") do |cell|
33 XPath.each(@@docDd, "//b[@x='ab02A']/preceding-sibling::*") do |cell|
H A Dtest_functions.rb13 XPath::each(doc.root, "text()") {|val| res << val.to_s}
16 res = XPath::first(doc.root, "b[last()]")
18 res = XPath::first(doc.root, "b[position()=2]")
20 res = XPath::first(doc.root, "*[name()='c']")
87 #puts XPath.first(d, 'node()[0 + 1]')
89 #puts XPath.first(d, 'a[0 mod 0]')
167 assert_equal(value[i], REXML::XPath.match(doc, xpath))
175 assert_equal(value[i], REXML::XPath.match(doc, xpath))
212 assert_equal( "A", REXML::XPath.first(document, '//b[.="A"]').text )
213 assert_equal( "1", REXML::XPath
[all...]
H A Dtest_xpath_attribute_query.rb82 REXML::XPath.each(doc, "//link[@rel='alternate']") do |element|
/macosx-10.9.5/CPANInternal-140/XML-XPath/XPath/
H A DXMLParser.pm3 package XML::XPath::XMLParser;
8 #use XML::XPath;
9 use XML::XPath::Node;
10 use XML::XPath::Node::Element;
11 use XML::XPath::Node::Text;
12 use XML::XPath::Node::Comment;
13 use XML::XPath::Node::PI;
14 use XML::XPath::Node::Attribute;
15 use XML::XPath::Node::Namespace;
89 my $document = XML::XPath
[all...]
H A DPerlSAX.pm3 package XML::XPath::PerlSAX;
4 use XML::XPath::XMLParser;
16 die "XML::XPath::PerlSAX: parser instance ($self) already parsing\n"
24 # warn "PARSING: $node ", XML::XPath::XMLParser::as_string($node), "\n\n";
37 die "XML::XPath::PerlSAX: no source defined for parse\n";
48 die "XML::XPath::PerlSAX: no Handler or DocumentHandler defined for parse\n";
133 XML::XPath::PerlSAX - A PerlSAX event generator for my wierd node structure
137 use XML::XPath;
138 use XML::XPath::PerlSAX;
141 my $xp = XML::XPath
[all...]
H A DVariable.pm3 package XML::XPath::Variable;
7 # see the XML::XPath::Parser class for the instances
/macosx-10.9.5/ruby-104/ruby/lib/rexml/
H A Dxpath.rb5 # Wrapper class. Use this class to access the XPath functions.
6 class XPath class in class:REXML
23 # to values. This can be used to avoid XPath injection attacks
26 # XPath.first( node )
27 # XPath.first( doc, "//b"} )
28 # XPath.first( node, "a/x:b", { "x"=>"http://doofus" } )
29 # XPath.first( node, '/book/publisher/text()=$publisher', {}, {"publisher"=>"O'Reilly"})
30 def XPath::first element, path=nil, namespaces=nil, variables={} method in class:REXML.XPath
51 # to values. This can be used to avoid XPath injection attacks
54 # XPath
59 def XPath::each element, path=nil, namespaces=nil, variables={}, &block method in class:REXML.XPath
71 def XPath::match element, path=nil, namespaces=nil, variables={} method in class:REXML.XPath
[all...]
/macosx-10.9.5/CPANInternal-140/Pod-WSDL/t/
H A D11WSDL03operations.t8 use XML::XPath;
16 my $xp = XML::XPath->new(xml => $xmlOutput);
H A D11WSDL04binding.t8 use XML::XPath;
16 my $xp = XML::XPath->new(xml => $xmlOutput);
19 #print XML::XPath::XMLParser::as_string(($xp->find('/wsdl:definitions/wsdl:binding')->get_nodelist())[0]);
H A D11WSDL01basic.t8 use XML::XPath;
57 my $xp = XML::XPath->new(xml => $p->WSDL);
64 $xp = XML::XPath->new(xml => $p->WSDL(withDocumentation => 0));
69 $xp = XML::XPath->new(xml => $p->WSDL(withDocumentation => 1));
/macosx-10.9.5/CPANInternal-140/Pod-WSDL-0.061/t/
H A D11WSDL03operations.t8 use XML::XPath;
16 my $xp = XML::XPath->new(xml => $xmlOutput);
H A D11WSDL04binding.t8 use XML::XPath;
16 my $xp = XML::XPath->new(xml => $xmlOutput);
19 #print XML::XPath::XMLParser::as_string(($xp->find('/wsdl:definitions/wsdl:binding')->get_nodelist())[0]);
H A D11WSDL01basic.t8 use XML::XPath;
57 my $xp = XML::XPath->new(xml => $p->WSDL);
64 $xp = XML::XPath->new(xml => $p->WSDL(withDocumentation => 0));
69 $xp = XML::XPath->new(xml => $p->WSDL(withDocumentation => 1));

Completed in 92 milliseconds

1234