libxml-ruby 0.7.0-x86-mswin32-60 → 0.8.0-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +24 -1
- data/README +48 -3
- data/benchmark/depixelate.rb +632 -0
- data/benchmark/hamlet.xml +9055 -0
- data/benchmark/sock_entries.xml +507 -0
- data/benchmark/throughput.rb +39 -0
- data/benchmark/xml_benchmarks.rb +222 -0
- data/doc/classes/LibXML.html +237 -0
- data/doc/classes/LibXML/XML.html +178 -0
- data/doc/classes/{XML → LibXML/XML}/Attr.html +213 -182
- data/doc/classes/{XML → LibXML/XML}/Attributes.html +126 -54
- data/doc/classes/{XML → LibXML/XML}/Document.html +299 -297
- data/doc/classes/{XML → LibXML/XML}/Dtd.html +10 -10
- data/doc/classes/{XML/XInclude → LibXML/XML}/Error.html +4 -4
- data/doc/classes/{XML → LibXML/XML}/HTMLParser.html +40 -40
- data/doc/classes/{XML → LibXML/XML}/InputCallbacks.html +10 -10
- data/doc/classes/{XML → LibXML/XML}/NS.html +46 -46
- data/doc/classes/{XML → LibXML/XML}/Node.html +935 -788
- data/doc/classes/LibXML/XML/Node/FailedModify.html +111 -0
- data/doc/classes/{XML → LibXML/XML}/Node/Set.html +69 -68
- data/doc/classes/{XML → LibXML/XML}/Node/SetNamespace.html +4 -4
- data/doc/classes/{XML/Node/FailedModify.html → LibXML/XML/Node/UnknownType.html} +4 -4
- data/doc/classes/{XML → LibXML/XML}/Parser.html +426 -389
- data/doc/classes/{XML → LibXML/XML}/Parser/Context.html +208 -208
- data/doc/classes/{XML → LibXML/XML}/Parser/ParseError.html +4 -4
- data/doc/classes/{XML → LibXML/XML}/Reader.html +288 -287
- data/doc/classes/{XML → LibXML/XML}/SaxParser.html +52 -52
- data/doc/classes/{XML/XPath/Context.html → LibXML/XML/Schema.html} +60 -32
- data/doc/classes/{XML → LibXML/XML}/State.html +4 -4
- data/doc/classes/{XML/Node/UnknownType.html → LibXML/XML/Tree.html} +5 -5
- data/doc/classes/{XML → LibXML/XML}/XInclude.html +5 -5
- data/doc/classes/{XML → LibXML/XML/XInclude}/Error.html +5 -5
- data/doc/classes/{XML → LibXML/XML}/XMLParserOptions.html +5 -5
- data/doc/classes/{XML → LibXML/XML}/XPath.html +23 -64
- data/doc/classes/LibXML/XML/XPath/Context.html +403 -0
- data/doc/classes/{XML/XPointer/Context → LibXML/XML/XPath}/InvalidPath.html +4 -4
- data/doc/classes/LibXML/XML/XPath/Object.html +623 -0
- data/doc/classes/{XML → LibXML/XML}/XPointer.html +12 -12
- data/doc/classes/{XML → LibXML/XML}/XPointer/Context.html +5 -5
- data/doc/classes/{XML/XPath → LibXML/XML/XPointer/Context}/InvalidPath.html +5 -5
- data/doc/classes/{XML → LibXML/XML}/XPointer/InvalidExpression.html +4 -4
- data/doc/classes/XML.html +17 -123
- data/doc/created.rid +1 -1
- data/doc/files/CHANGES.html +49 -25
- data/doc/files/LICENSE.html +1 -1
- data/doc/files/README.html +79 -4
- data/doc/files/VERSION.html +2 -2
- data/doc/files/ext/libxml/cbg_c.html +1 -1
- data/doc/files/ext/libxml/libxml_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_attr_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_attributes_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_document_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_dtd_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_html_parser_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_input_cbg_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_node_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_node_set_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_ns_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_parser_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_parser_context_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_reader_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_sax_parser_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_schema_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_state_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xinclude_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpath_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpath_context_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpath_object_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpointer_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpointer_context_c.html +1 -1
- data/doc/files/lib/libxml/attr_rb.html +108 -0
- data/doc/files/lib/libxml/attributes_rb.html +108 -0
- data/doc/files/lib/libxml/document_rb.html +108 -0
- data/doc/files/lib/libxml/node_rb.html +108 -0
- data/doc/files/lib/libxml/node_set_rb.html +108 -0
- data/doc/files/lib/libxml/parser_options_rb.html +107 -0
- data/doc/files/{ext/libxml/ruby_xml_tree_c.html → lib/libxml/parser_rb.html} +4 -4
- data/doc/files/lib/libxml/properties_rb.html +108 -0
- data/doc/files/lib/libxml/tree_rb.html +107 -0
- data/doc/files/lib/libxml_rb.html +12 -3
- data/doc/fr_class_index.html +34 -32
- data/doc/fr_file_index.html +9 -1
- data/doc/fr_method_index.html +362 -347
- data/ext/libxml/cbg.c +76 -76
- data/ext/libxml/libxml.c +4 -3
- data/ext/libxml/ruby_libxml.h +1 -1
- data/ext/libxml/ruby_xml_attr.c +4 -3
- data/ext/libxml/ruby_xml_attr.h +16 -16
- data/ext/libxml/ruby_xml_attributes.c +267 -266
- data/ext/libxml/ruby_xml_attributes.h +17 -17
- data/ext/libxml/ruby_xml_document.c +30 -59
- data/ext/libxml/ruby_xml_document.h +27 -27
- data/ext/libxml/ruby_xml_dtd.c +2 -1
- data/ext/libxml/ruby_xml_dtd.h +17 -17
- data/ext/libxml/ruby_xml_html_parser.c +3 -2
- data/ext/libxml/ruby_xml_html_parser.h +29 -29
- data/ext/libxml/ruby_xml_input_cbg.c +2 -1
- data/ext/libxml/ruby_xml_input_cbg.h +20 -20
- data/ext/libxml/ruby_xml_node.c +127 -470
- data/ext/libxml/ruby_xml_node.h +17 -17
- data/ext/libxml/ruby_xml_node_set.c +5 -4
- data/ext/libxml/ruby_xml_node_set.h +20 -20
- data/ext/libxml/ruby_xml_ns.c +3 -2
- data/ext/libxml/ruby_xml_ns.h +12 -12
- data/ext/libxml/ruby_xml_parser.c +20 -48
- data/ext/libxml/ruby_xml_parser.h +31 -31
- data/ext/libxml/ruby_xml_parser_context.c +3 -2
- data/ext/libxml/ruby_xml_parser_context.h +20 -20
- data/ext/libxml/ruby_xml_reader.c +2 -1
- data/ext/libxml/ruby_xml_sax_parser.c +3 -2
- data/ext/libxml/ruby_xml_sax_parser.h +56 -56
- data/ext/libxml/ruby_xml_schema.c +6 -0
- data/ext/libxml/ruby_xml_schema.h +16 -16
- data/ext/libxml/ruby_xml_state.c +13 -12
- data/ext/libxml/ruby_xml_state.h +1 -1
- data/ext/libxml/ruby_xml_xinclude.c +3 -2
- data/ext/libxml/ruby_xml_xinclude.h +13 -13
- data/ext/libxml/ruby_xml_xpath.c +35 -228
- data/ext/libxml/ruby_xml_xpath.h +22 -23
- data/ext/libxml/ruby_xml_xpath_context.c +223 -62
- data/ext/libxml/ruby_xml_xpath_context.h +15 -20
- data/ext/libxml/ruby_xml_xpath_object.c +63 -19
- data/ext/libxml/ruby_xml_xpointer.c +19 -15
- data/ext/libxml/ruby_xml_xpointer.h +27 -27
- data/ext/libxml/ruby_xml_xpointer_context.c +3 -2
- data/ext/libxml/ruby_xml_xpointer_context.h +18 -18
- data/ext/libxml/version.h +9 -9
- data/lib/libxml.rb +16 -128
- data/lib/libxml/attr.rb +45 -0
- data/lib/libxml/attributes.rb +15 -0
- data/lib/libxml/document.rb +54 -0
- data/lib/libxml/node.rb +132 -0
- data/lib/libxml/node_set.rb +27 -0
- data/lib/libxml/parser.rb +42 -0
- data/lib/libxml/parser_options.rb +25 -0
- data/lib/libxml/properties.rb +19 -0
- data/lib/libxml/tree.rb +29 -0
- data/lib/libxml_ruby.so +0 -0
- data/mingw/libxml_ruby.so +0 -0
- data/{work/task/setup → setup.rb} +1585 -1616
- data/test/gc.log +0 -0
- data/test/model/books.xml +147 -0
- data/{work/test/runner.rb → test/model/default_validation_bug.rb} +0 -0
- data/test/model/merge_bug_data.xml +58 -0
- data/test/model/rubynet.xml +78 -0
- data/test/model/rubynet_project +1 -0
- data/test/model/saxtest.xml +5 -0
- data/test/model/shiporder.xml +23 -0
- data/test/model/shiporder.xsd +31 -0
- data/test/model/simple.xml +7 -0
- data/test/model/soap.xml +27 -0
- data/test/model/xinclude.xml +5 -0
- data/test/tc_deprecated_require.rb +13 -0
- data/test/tc_xml_document.rb +57 -16
- data/test/tc_xml_document_write.rb +125 -10
- data/test/tc_xml_dtd.rb +22 -1
- data/test/tc_xml_node.rb +13 -0
- data/test/tc_xml_node_edit.rb +1 -1
- data/test/tc_xml_node_xlink.rb +1 -1
- data/test/tc_xml_parser.rb +64 -7
- data/test/tc_xml_properties.rb +42 -0
- data/test/tc_xml_reader.rb +4 -4
- data/test/tc_xml_sax_parser.rb +50 -50
- data/test/tc_xml_schema.rb +2 -2
- data/test/tc_xml_traversal.rb +220 -0
- data/test/tc_xml_xinclude.rb +12 -15
- data/test/tc_xml_xpath.rb +74 -6
- data/test/tc_xml_xpath_context.rb +72 -0
- data/test/test_suite.rb +6 -4
- data/vc/libxml_ruby.vcproj +1 -9
- metadata +92 -65
- data/doc/classes/XML/SiblingEnum.html +0 -142
- data/doc/classes/XML/Tree.html +0 -224
- data/doc/classes/XML/XPath/Object.html +0 -439
- data/ext/libxml/ruby_xml_tree.c +0 -43
- data/ext/libxml/ruby_xml_tree.h +0 -12
- data/test/ets_copy_bug2.rb +0 -21
- data/test/tc_xml_document_write2.rb +0 -54
- data/test/tc_xml_document_write3.rb +0 -96
- data/test/tc_xml_sax_parser2.rb +0 -51
- data/work/Rakefile +0 -247
- data/work/task/make +0 -26
- data/work/task/memory +0 -37
- data/work/task/rdoc +0 -39
- data/work/task/test +0 -29
- data/work/test/ets_runner.rb +0 -33
- data/work/test/libxml_test.rb +0 -3
- data/work/test/runner_ets.rb +0 -33
@@ -0,0 +1,111 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: LibXML::XML::Node::FailedModify</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">LibXML::XML::Node::FailedModify</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../../../files/ext/libxml/ruby_xml_node_c.html">
|
59
|
+
ext/libxml/ruby_xml_node.c
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
eXMLError
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
|
89
|
+
<!-- if includes -->
|
90
|
+
|
91
|
+
<div id="section">
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<!-- if method_list -->
|
101
|
+
|
102
|
+
|
103
|
+
</div>
|
104
|
+
|
105
|
+
|
106
|
+
<div id="validator-badges">
|
107
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
108
|
+
</div>
|
109
|
+
|
110
|
+
</body>
|
111
|
+
</html>
|
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>Class: XML::Node::Set</title>
|
8
|
+
<title>Class: LibXML::XML::Node::Set</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="
|
11
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
12
|
<script type="text/javascript">
|
13
13
|
// <![CDATA[
|
14
14
|
|
@@ -50,17 +50,17 @@
|
|
50
50
|
<table class="header-table">
|
51
51
|
<tr class="top-aligned-row">
|
52
52
|
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">XML::Node::Set</td>
|
53
|
+
<td class="class-name-in-header">LibXML::XML::Node::Set</td>
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>In:</strong></td>
|
57
57
|
<td>
|
58
|
-
<a href="
|
58
|
+
<a href="../../../../files/ext/libxml/ruby_xml_node_c.html">
|
59
59
|
ext/libxml/ruby_xml_node.c
|
60
60
|
</a>
|
61
61
|
<br />
|
62
|
-
<a href="
|
63
|
-
lib/libxml.rb
|
62
|
+
<a href="../../../../files/lib/libxml/node_set_rb.html">
|
63
|
+
lib/libxml/node_set.rb
|
64
64
|
</a>
|
65
65
|
<br />
|
66
66
|
</td>
|
@@ -96,15 +96,15 @@ Includes Enumerable.
|
|
96
96
|
<h3 class="section-bar">Methods</h3>
|
97
97
|
|
98
98
|
<div class="name-list">
|
99
|
-
<a href="#
|
100
|
-
<a href="#
|
101
|
-
<a href="#
|
102
|
-
<a href="#
|
103
|
-
<a href="#
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
99
|
+
<a href="#M000214">[]</a>
|
100
|
+
<a href="#M000206">each</a>
|
101
|
+
<a href="#M000207">empty?</a>
|
102
|
+
<a href="#M000208">first</a>
|
103
|
+
<a href="#M000209">length</a>
|
104
|
+
<a href="#M000210">size</a>
|
105
|
+
<a href="#M000211">to_a</a>
|
106
|
+
<a href="#M000212">xpath</a>
|
107
|
+
<a href="#M000213">xpath_ctxt</a>
|
108
108
|
</div>
|
109
109
|
</div>
|
110
110
|
|
@@ -117,6 +117,7 @@ Includes Enumerable.
|
|
117
117
|
|
118
118
|
<div id="includes-list">
|
119
119
|
<span class="include-name">Enumerable</span>
|
120
|
+
<span class="include-name">Enumerable</span>
|
120
121
|
</div>
|
121
122
|
</div>
|
122
123
|
|
@@ -133,11 +134,11 @@ Includes Enumerable.
|
|
133
134
|
<div id="methods">
|
134
135
|
<h3 class="section-bar">Public Instance methods</h3>
|
135
136
|
|
136
|
-
<div id="method-
|
137
|
-
<a name="
|
137
|
+
<div id="method-M000214" class="method-detail">
|
138
|
+
<a name="M000214"></a>
|
138
139
|
|
139
140
|
<div class="method-heading">
|
140
|
-
<a href="#
|
141
|
+
<a href="#M000214" class="method-signature">
|
141
142
|
<span class="method-name">[]</span><span class="method-args">(i, count = nil)</span>
|
142
143
|
</a>
|
143
144
|
</div>
|
@@ -147,27 +148,27 @@ Includes Enumerable.
|
|
147
148
|
inefficient, but maybe can find a way to cache the ary and dump on change?
|
148
149
|
</p>
|
149
150
|
<p><a class="source-toggle" href="#"
|
150
|
-
onclick="toggleCode('
|
151
|
-
<div class="method-source-code" id="
|
151
|
+
onclick="toggleCode('M000214-source');return false;">[Source]</a></p>
|
152
|
+
<div class="method-source-code" id="M000214-source">
|
152
153
|
<pre>
|
153
|
-
<span class="ruby-comment cmt"># File lib/libxml.rb, line
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
154
|
+
<span class="ruby-comment cmt"># File lib/libxml/node_set.rb, line 13</span>
|
155
|
+
13: <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">i</span>, <span class="ruby-identifier">count</span> = <span class="ruby-keyword kw">nil</span>)
|
156
|
+
14: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">count</span>
|
157
|
+
15: <span class="ruby-identifier">to_a</span>[<span class="ruby-identifier">i</span>,<span class="ruby-identifier">count</span>]
|
158
|
+
16: <span class="ruby-keyword kw">else</span>
|
159
|
+
17: <span class="ruby-identifier">to_a</span>[<span class="ruby-identifier">i</span>]
|
160
|
+
18: <span class="ruby-keyword kw">end</span>
|
161
|
+
19: <span class="ruby-keyword kw">end</span>
|
161
162
|
</pre>
|
162
163
|
</div>
|
163
164
|
</div>
|
164
165
|
</div>
|
165
166
|
|
166
|
-
<div id="method-
|
167
|
-
<a name="
|
167
|
+
<div id="method-M000206" class="method-detail">
|
168
|
+
<a name="M000206"></a>
|
168
169
|
|
169
170
|
<div class="method-heading">
|
170
|
-
<a href="#
|
171
|
+
<a href="#M000206" class="method-signature">
|
171
172
|
<span class="method-name">nodeset.each { |node| ... } → self<br />
|
172
173
|
</span>
|
173
174
|
</a>
|
@@ -178,8 +179,8 @@ inefficient, but maybe can find a way to cache the ary and dump on change?
|
|
178
179
|
Call the supplied block for each node in this set.
|
179
180
|
</p>
|
180
181
|
<p><a class="source-toggle" href="#"
|
181
|
-
onclick="toggleCode('
|
182
|
-
<div class="method-source-code" id="
|
182
|
+
onclick="toggleCode('M000206-source');return false;">[Source]</a></p>
|
183
|
+
<div class="method-source-code" id="M000206-source">
|
183
184
|
<pre>
|
184
185
|
/*
|
185
186
|
* call-seq:
|
@@ -195,11 +196,11 @@ ruby_xml_node_set_each(VALUE self) {
|
|
195
196
|
</div>
|
196
197
|
</div>
|
197
198
|
|
198
|
-
<div id="method-
|
199
|
-
<a name="
|
199
|
+
<div id="method-M000207" class="method-detail">
|
200
|
+
<a name="M000207"></a>
|
200
201
|
|
201
202
|
<div class="method-heading">
|
202
|
-
<a href="#
|
203
|
+
<a href="#M000207" class="method-signature">
|
203
204
|
<span class="method-name">nodeset.empty? → (true|false)<br />
|
204
205
|
</span>
|
205
206
|
</a>
|
@@ -210,8 +211,8 @@ ruby_xml_node_set_each(VALUE self) {
|
|
210
211
|
Determine whether this nodeset is empty (contains no nodes).
|
211
212
|
</p>
|
212
213
|
<p><a class="source-toggle" href="#"
|
213
|
-
onclick="toggleCode('
|
214
|
-
<div class="method-source-code" id="
|
214
|
+
onclick="toggleCode('M000207-source');return false;">[Source]</a></p>
|
215
|
+
<div class="method-source-code" id="M000207-source">
|
215
216
|
<pre>
|
216
217
|
/*
|
217
218
|
* call-seq:
|
@@ -227,11 +228,11 @@ ruby_xml_node_set_empty_q(VALUE self) {
|
|
227
228
|
</div>
|
228
229
|
</div>
|
229
230
|
|
230
|
-
<div id="method-
|
231
|
-
<a name="
|
231
|
+
<div id="method-M000208" class="method-detail">
|
232
|
+
<a name="M000208"></a>
|
232
233
|
|
233
234
|
<div class="method-heading">
|
234
|
-
<a href="#
|
235
|
+
<a href="#M000208" class="method-signature">
|
235
236
|
<span class="method-name">nodeset.first → node<br />
|
236
237
|
</span>
|
237
238
|
</a>
|
@@ -242,8 +243,8 @@ ruby_xml_node_set_empty_q(VALUE self) {
|
|
242
243
|
Returns the first node in this node set, or nil if none exist.
|
243
244
|
</p>
|
244
245
|
<p><a class="source-toggle" href="#"
|
245
|
-
onclick="toggleCode('
|
246
|
-
<div class="method-source-code" id="
|
246
|
+
onclick="toggleCode('M000208-source');return false;">[Source]</a></p>
|
247
|
+
<div class="method-source-code" id="M000208-source">
|
247
248
|
<pre>
|
248
249
|
/*
|
249
250
|
* call-seq:
|
@@ -259,11 +260,11 @@ ruby_xml_node_set_first(VALUE self) {
|
|
259
260
|
</div>
|
260
261
|
</div>
|
261
262
|
|
262
|
-
<div id="method-
|
263
|
-
<a name="
|
263
|
+
<div id="method-M000209" class="method-detail">
|
264
|
+
<a name="M000209"></a>
|
264
265
|
|
265
266
|
<div class="method-heading">
|
266
|
-
<a href="#
|
267
|
+
<a href="#M000209" class="method-signature">
|
267
268
|
<span class="method-name">nodeset.length → num<br />
|
268
269
|
</span>
|
269
270
|
</a>
|
@@ -274,8 +275,8 @@ ruby_xml_node_set_first(VALUE self) {
|
|
274
275
|
Obtain the length of this nodeset.
|
275
276
|
</p>
|
276
277
|
<p><a class="source-toggle" href="#"
|
277
|
-
onclick="toggleCode('
|
278
|
-
<div class="method-source-code" id="
|
278
|
+
onclick="toggleCode('M000209-source');return false;">[Source]</a></p>
|
279
|
+
<div class="method-source-code" id="M000209-source">
|
279
280
|
<pre>
|
280
281
|
/*
|
281
282
|
* call-seq:
|
@@ -291,11 +292,11 @@ ruby_xml_node_set_length(VALUE self) {
|
|
291
292
|
</div>
|
292
293
|
</div>
|
293
294
|
|
294
|
-
<div id="method-
|
295
|
-
<a name="
|
295
|
+
<div id="method-M000210" class="method-detail">
|
296
|
+
<a name="M000210"></a>
|
296
297
|
|
297
298
|
<div class="method-heading">
|
298
|
-
<a href="#
|
299
|
+
<a href="#M000210" class="method-signature">
|
299
300
|
<span class="method-name">nodeset.length → num<br />
|
300
301
|
</span>
|
301
302
|
</a>
|
@@ -306,8 +307,8 @@ ruby_xml_node_set_length(VALUE self) {
|
|
306
307
|
Obtain the length of this nodeset.
|
307
308
|
</p>
|
308
309
|
<p><a class="source-toggle" href="#"
|
309
|
-
onclick="toggleCode('
|
310
|
-
<div class="method-source-code" id="
|
310
|
+
onclick="toggleCode('M000210-source');return false;">[Source]</a></p>
|
311
|
+
<div class="method-source-code" id="M000210-source">
|
311
312
|
<pre>
|
312
313
|
/*
|
313
314
|
* call-seq:
|
@@ -323,11 +324,11 @@ ruby_xml_node_set_length(VALUE self) {
|
|
323
324
|
</div>
|
324
325
|
</div>
|
325
326
|
|
326
|
-
<div id="method-
|
327
|
-
<a name="
|
327
|
+
<div id="method-M000211" class="method-detail">
|
328
|
+
<a name="M000211"></a>
|
328
329
|
|
329
330
|
<div class="method-heading">
|
330
|
-
<a href="#
|
331
|
+
<a href="#M000211" class="method-signature">
|
331
332
|
<span class="method-name">nodeset.to_a → [node, ..., node]<br />
|
332
333
|
</span>
|
333
334
|
</a>
|
@@ -338,8 +339,8 @@ ruby_xml_node_set_length(VALUE self) {
|
|
338
339
|
Obtain an array of the nodes in this set.
|
339
340
|
</p>
|
340
341
|
<p><a class="source-toggle" href="#"
|
341
|
-
onclick="toggleCode('
|
342
|
-
<div class="method-source-code" id="
|
342
|
+
onclick="toggleCode('M000211-source');return false;">[Source]</a></p>
|
343
|
+
<div class="method-source-code" id="M000211-source">
|
343
344
|
<pre>
|
344
345
|
/*
|
345
346
|
* call-seq:
|
@@ -355,11 +356,11 @@ ruby_xml_node_set_to_a(VALUE self) {
|
|
355
356
|
</div>
|
356
357
|
</div>
|
357
358
|
|
358
|
-
<div id="method-
|
359
|
-
<a name="
|
359
|
+
<div id="method-M000212" class="method-detail">
|
360
|
+
<a name="M000212"></a>
|
360
361
|
|
361
362
|
<div class="method-heading">
|
362
|
-
<a href="#
|
363
|
+
<a href="#M000212" class="method-signature">
|
363
364
|
<span class="method-name">nodeset.xpath → xpath<br />
|
364
365
|
</span>
|
365
366
|
</a>
|
@@ -370,8 +371,8 @@ ruby_xml_node_set_to_a(VALUE self) {
|
|
370
371
|
Obtain the xpath corresponding to this nodeset, if any.
|
371
372
|
</p>
|
372
373
|
<p><a class="source-toggle" href="#"
|
373
|
-
onclick="toggleCode('
|
374
|
-
<div class="method-source-code" id="
|
374
|
+
onclick="toggleCode('M000212-source');return false;">[Source]</a></p>
|
375
|
+
<div class="method-source-code" id="M000212-source">
|
375
376
|
<pre>
|
376
377
|
/*
|
377
378
|
* call-seq:
|
@@ -387,11 +388,11 @@ ruby_xml_node_set_xpath_get(VALUE self) {
|
|
387
388
|
</div>
|
388
389
|
</div>
|
389
390
|
|
390
|
-
<div id="method-
|
391
|
-
<a name="
|
391
|
+
<div id="method-M000213" class="method-detail">
|
392
|
+
<a name="M000213"></a>
|
392
393
|
|
393
394
|
<div class="method-heading">
|
394
|
-
<a href="#
|
395
|
+
<a href="#M000213" class="method-signature">
|
395
396
|
<span class="method-name">nodeset.xpath_ctxt → context<br />
|
396
397
|
</span>
|
397
398
|
</a>
|
@@ -402,8 +403,8 @@ ruby_xml_node_set_xpath_get(VALUE self) {
|
|
402
403
|
Return the xpath context corresponding to this nodeset, if any.
|
403
404
|
</p>
|
404
405
|
<p><a class="source-toggle" href="#"
|
405
|
-
onclick="toggleCode('
|
406
|
-
<div class="method-source-code" id="
|
406
|
+
onclick="toggleCode('M000213-source');return false;">[Source]</a></p>
|
407
|
+
<div class="method-source-code" id="M000213-source">
|
407
408
|
<pre>
|
408
409
|
/*
|
409
410
|
* call-seq:
|
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>Class: XML::Node::SetNamespace</title>
|
8
|
+
<title>Class: LibXML::XML::Node::SetNamespace</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="
|
11
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
12
|
<script type="text/javascript">
|
13
13
|
// <![CDATA[
|
14
14
|
|
@@ -50,12 +50,12 @@
|
|
50
50
|
<table class="header-table">
|
51
51
|
<tr class="top-aligned-row">
|
52
52
|
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">XML::Node::SetNamespace</td>
|
53
|
+
<td class="class-name-in-header">LibXML::XML::Node::SetNamespace</td>
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>In:</strong></td>
|
57
57
|
<td>
|
58
|
-
<a href="
|
58
|
+
<a href="../../../../files/ext/libxml/ruby_xml_node_c.html">
|
59
59
|
ext/libxml/ruby_xml_node.c
|
60
60
|
</a>
|
61
61
|
<br />
|
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>Class: XML::Node::
|
8
|
+
<title>Class: LibXML::XML::Node::UnknownType</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="
|
11
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
12
|
<script type="text/javascript">
|
13
13
|
// <![CDATA[
|
14
14
|
|
@@ -50,12 +50,12 @@
|
|
50
50
|
<table class="header-table">
|
51
51
|
<tr class="top-aligned-row">
|
52
52
|
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">XML::Node::
|
53
|
+
<td class="class-name-in-header">LibXML::XML::Node::UnknownType</td>
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>In:</strong></td>
|
57
57
|
<td>
|
58
|
-
<a href="
|
58
|
+
<a href="../../../../files/ext/libxml/ruby_xml_node_c.html">
|
59
59
|
ext/libxml/ruby_xml_node.c
|
60
60
|
</a>
|
61
61
|
<br />
|