/macosx-10.9.5/CPAN-52/Modules/XML-XPath-1.13/ |
H A D | Makefile | 1 NAME = XML-XPath
|
/macosx-10.9.5/CPANInternal-140/XML-XPath/XPath/ |
H A D | Root.pm | 3 package XML::XPath::Root; 5 use XML::XPath::XMLParser; 6 use XML::XPath::NodeSet; 31 my $newset = XML::XPath::NodeSet->new();
|
H A D | Boolean.pm | 3 package XML::XPath::Boolean; 4 use XML::XPath::Number; 5 use XML::XPath::Literal; 38 sub to_number { XML::XPath::Number->new($_[0]->value); } 40 sub to_literal { XML::XPath::Literal->new($_[0]->value ? "true" : "false"); } 49 XML::XPath::Boolean - Boolean true/false values 53 XML::XPath::Boolean objects implement simple boolean true/false objects. 57 =head2 XML::XPath::Boolean->True 61 =head2 XML::XPath::Boolean->False
|
H A D | Parser.pm | 3 package XML::XPath::Parser; 18 use XML::XPath::XMLParser; 19 use XML::XPath::Step; 20 use XML::XPath::Expr; 21 use XML::XPath::Function; 22 use XML::XPath::LocationPath; 23 use XML::XPath::Variable; 24 use XML::XPath::Literal; 25 use XML::XPath::Number; 26 use XML::XPath [all...] |
H A D | Function.pm | 3 package XML::XPath::Function; 4 use XML::XPath::Number; 5 use XML::XPath::Literal; 6 use XML::XPath::Boolean; 7 use XML::XPath::NodeSet; 8 use XML::XPath::Node::Attribute; 53 if ($node->isa('XML::XPath::NodeSet')) { 73 # XML::XPath::Number 74 # XML::XPath::Literal (string) 75 # XML::XPath [all...] |
H A D | Number.pm | 3 package XML::XPath::Number; 4 use XML::XPath::Boolean; 5 use XML::XPath::Literal; 56 return $$self ? XML::XPath::Boolean->True : XML::XPath::Boolean->False; 59 sub to_literal { XML::XPath::Literal->new($_[0]->as_string); } 69 XML::XPath::Number - Simple numeric values. 74 or NaN, as the XPath spec says it should, but I'm not hurting anyone I don't think. 80 Creates a new XML::XPath::Number object, with the value in $num. Does some
|
H A D | Builder.pm | 3 package XML::XPath::Builder; 8 use XML::XPath::Node; 9 use XML::XPath::Node::Element; 10 use XML::XPath::Node::Attribute; 11 use XML::XPath::Node::Namespace; 12 use XML::XPath::Node::Text; 13 use XML::XPath::Node::PI; 14 use XML::XPath::Node::Comment; 40 my $document = XML::XPath::Node::Element->new(); 41 my $newns = XML::XPath [all...] |
H A D | LocationPath.pm | 3 package XML::XPath::LocationPath; 4 use XML::XPath::Root; 37 unshift @$self, XML::XPath::Root->new(); 48 my $nodeset = XML::XPath::NodeSet->new();
|
H A D | Literal.pm | 3 package XML::XPath::Literal; 4 use XML::XPath::Boolean; 5 use XML::XPath::Number; 56 return (length($$self) > 0) ? XML::XPath::Boolean->True : XML::XPath::Boolean->False; 59 sub to_number { return XML::XPath::Number->new($_[0]->value); } 69 XML::XPath::Literal - Simple string values. 73 In XPath terms a Literal is what we know as a string. 80 ' will be converted to " and ' respectively. That is not part of the XPath
|
H A D | Node.pm | 3 package XML::XPath::Node; 155 if ($XML::XPath::EncodeUtf8AsEntity) { 210 if ($XML::XPath::SafeMode) { 246 package XML::XPath::NodeImpl; 249 @ISA = ('XML::XPath::Node'); 257 return XML::XPath::Node::UNKNOWN_NODE; 286 return $self->[XML::XPath::Node::node_parent]; 302 my $node = $root->[XML::XPath::Node::node_ids]{$id}; 346 return $self->[XML::XPath::Node::node_pos]; 351 $self->[XML::XPath [all...] |
H A D | NodeSet.pm | 3 package XML::XPath::NodeSet; 6 use XML::XPath::Boolean; 81 return (@$self > 0) ? XML::XPath::Boolean->True : XML::XPath::Boolean->False; 92 return XML::XPath::Literal->new( 99 return XML::XPath::Number->new( 109 XML::XPath::NodeSet - a list of XML document nodes 113 An XML::XPath::NodeSet object contains an ordered list of nodes. The nodes 114 each take the same format as described in L<XML::XPath::XMLParser>. 119 if (!$results->isa('XML::XPath [all...] |
H A D | Expr.pm | 3 package XML::XPath::Expr; 112 die "Only 1 predicate allowed on FilterExpr in W3C XPath 1.0" 142 if (!$results->isa('XML::XPath::NodeSet')) { 211 use XML::XPath::Boolean; 216 return XML::XPath::Boolean->True; 226 return XML::XPath::Boolean->False; 239 if ($lh_results->isa('XML::XPath::NodeSet') && 240 $rh_results->isa('XML::XPath::NodeSet')) { 248 return XML::XPath::Boolean->True; 252 return XML::XPath [all...] |
/macosx-10.9.5/ruby-104/ruby/test/rexml/ |
H A D | test_xpath_msw.rb | 22 context = XPath.first(@@doc,"/a/e/f[last()]") 25 prev = XPath.first(context, "preceding-sibling::f") 28 prev = XPath.first(context, "preceding-sibling::f[1]") 31 prev = XPath.first(context, "preceding-sibling::f[2]") 34 prev = XPath.first(context, "preceding-sibling::f[3]")
|
H A D | test_xpath.rb | 70 XPath::each( element, xpath ) { |child| 79 p = XPath.match( doc, "//c" ) 81 p = XPath.first( @@doc, "//p" ) 92 assert_equal( 4, XPath.match( doc, "//z[1]" ).size ) 94 assert_equal( 1, XPath.match( doc, "/descendant::z[1]" ).size ) 101 assert_equal "a", XPath::first( doc, "/" ).elements[1].name 105 assert_equal "a", XPath::first(@@doc, "a").name 109 c = XPath::first( @@doc, "a/b/c" ) 111 assert_equal "3", XPath::first(@@doc, "a/b/c").attributes["id"] 115 assert_equal "a", XPath [all...] |
H A D | test_ticket_80.rb | 3 # desc: test's REXML's XML/XPath implementation 34 REXML::XPath.each( REXML::Document.new(@@xmlstr), 45 REXML::XPath.each( REXML::Document.new(@@xmlstr),
|
H A D | test_jaxen.rb | 43 XPath.each( doc, "/tests/document" ) {|e| handleDocument(e)} 50 testCtx = XPath.match( testDoc, ctxElement.attributes["select"] )[0] 56 XPath.each( ctxElement, "@*[namespace-uri() = 'http://jaxen.org/test-harness/var']") { |attrib| handleVariable(testCtx, variables, attrib) } 57 XPath.each( ctxElement, "valueOf") { |e| handleValueOf(testCtx, variables, namespaces, e) } 58 XPath.each( ctxElement, "test[not(@exception) or (@exception != 'true') ]") { |e| handleNominalTest(testCtx,variables, namespaces, e) } 59 XPath.each( ctxElement, "test[@exception = 'true']") { |e| handleExceptionalTest(testCtx,variables, namespaces, e) } 65 got = XPath.match( ctx, valueOfElement.attributes["select"], namespaces, variables )[0] 90 got = XPath.match( ctx, testElement.attributes["select"], namespaces, variables ) 94 XPath.each( testElement, "valueOf") { |e| 102 XPath [all...] |
/macosx-10.9.5/CPANInternal-140/XML-XPath/t/ |
H A D | remove.t | 6 use XML::XPath; 7 use XML::XPath::XMLParser; 8 $XML::XPath::SafeMode = 1; 11 my $xp = XML::XPath->new(ioref => *DATA);
|
H A D | insert.t | 6 use XML::XPath; 7 use XML::XPath::Node::Comment; 8 #$XML::XPath::SafeMode = 1; 11 my $xp = XML::XPath->new(ioref => *DATA); 23 my $comment = XML::XPath::Node::Comment->new("Before Comment"); 27 my $other_comment = XML::XPath::Node::Comment->new("After Comment");
|
/macosx-10.9.5/CPANInternal-140/XML-XPath/XPath/Node/ |
H A D | PI.pm | 3 package XML::XPath::Node::PI; 8 @ISA = ('XML::XPath::Node'); 10 package XML::XPath::Node::PIImpl; 13 @ISA = ('XML::XPath::NodeImpl', 'XML::XPath::Node::PI'); 14 use XML::XPath::Node ':node_keys'; 20 my $pos = XML::XPath::Node->nextPos; 57 return "<?" . $self->[node_target] . " " . XML::XPath::Node::XMLescape($self->[node_data], ">") . "?>";
|
H A D | Text.pm | 3 package XML::XPath::Node::Text; 8 @ISA = ('XML::XPath::Node'); 10 package XML::XPath::Node::TextImpl; 13 @ISA = ('XML::XPath::NodeImpl', 'XML::XPath::Node::Text'); 14 use XML::XPath::Node ':node_keys'; 20 my $pos = XML::XPath::Node->nextPos; 68 XML::XPath::Node::XMLescape($self->[node_text], "<&");
|
/macosx-10.9.5/WebCore-7537.78.1/xml/ |
H A D | XPathResult.h | 56 static PassRefPtr<XPathResult> create(Document* document, const XPath::Value& value) { return adoptRef(new XPathResult(document, value)); } 73 const XPath::Value& value() const { return m_value; } 76 XPathResult(Document*, const XPath::Value&); 78 XPath::Value m_value; 80 XPath::NodeSet m_nodeSet; // FIXME: why duplicate the node set stored in m_value?
|
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/ |
H A D | JSXPathResultCustom.cpp | 46 const XPath::Value& xpathValue = thisObject->impl()->value(); 48 const XPath::NodeSet& nodesToMark = xpathValue.toNodeSet();
|
/macosx-10.9.5/CPANInternal-140/XML-XPath/ |
H A D | XPath.pm | 1 # $Id: XPath.pm,v 1.56 2003/01/26 19:33:17 matt Exp $ 3 package XML::XPath; 10 $XML::XPath::Namespaces = 1; 11 $XML::XPath::Debug = 0; 13 use XML::XPath::XMLParser; 14 use XML::XPath::Parser; 48 # just pass the parameters on to the XPath constructor 56 $hash{path_parser} = XML::XPath::Parser->new(); 71 my $parser = XML::XPath::XMLParser->new( 104 if ($results->isa('XML::XPath [all...] |
/macosx-10.9.5/CPANInternal-140/Pod-WSDL/t/ |
H A D | 11WSDL05service.t | 8 use XML::XPath; 16 my $xp = XML::XPath->new(xml => $xmlOutput); 19 #print XML::XPath::XMLParser::as_string(($xp->find('/wsdl:definitions/wsdl:service')->get_nodelist())[0])
|
/macosx-10.9.5/CPANInternal-140/Pod-WSDL-0.061/t/ |
H A D | 11WSDL05service.t | 8 use XML::XPath; 16 my $xp = XML::XPath->new(xml => $xmlOutput); 19 #print XML::XPath::XMLParser::as_string(($xp->find('/wsdl:definitions/wsdl:service')->get_nodelist())[0])
|