Sha256: 05911f4405871ada567b9b9cf6f8911cde56d26a30e260cc13d556dda0034c41
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>test_libxml_document_find (TC_XML_Document)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File ext/libxml/tests/tc_xml_document.rb, line 17</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_libxml_document_find</span>() <span class="ruby-identifier">set</span> = <span class="ruby-ivar">@doc</span>.<span class="ruby-identifier">find</span>(<span class="ruby-value str">'/ruby_array/fixnum'</span>) <span class="ruby-identifier">assert_instance_of</span>(<span class="ruby-constant">XML</span><span class="ruby-operator">::</span><span class="ruby-constant">Node</span><span class="ruby-operator">::</span><span class="ruby-constant">Set</span>, <span class="ruby-identifier">set</span>) <span class="ruby-identifier">xpt</span> = <span class="ruby-identifier">set</span>.<span class="ruby-identifier">xpath</span> <span class="ruby-identifier">assert_instance_of</span>(<span class="ruby-constant">XML</span><span class="ruby-operator">::</span><span class="ruby-constant">XPath</span>, <span class="ruby-identifier">xpt</span>) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mega-0.3.1 | pub/xml/libxml/rdoc/classes/TC_XML_Document.src/M000045.html |