Sha256: f1831e2f57cdddd233ffe1538d7d2a722ad851d0ec50d8fd54856c05e67f420c
Contents?: true
Size: 1.53 KB
Versions: 1
Compression:
Stored size: 1.53 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 TRASH/libxml-ruby-old/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/M000049.html |