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.
Files changed (188) hide show
  1. data/CHANGES +24 -1
  2. data/README +48 -3
  3. data/benchmark/depixelate.rb +632 -0
  4. data/benchmark/hamlet.xml +9055 -0
  5. data/benchmark/sock_entries.xml +507 -0
  6. data/benchmark/throughput.rb +39 -0
  7. data/benchmark/xml_benchmarks.rb +222 -0
  8. data/doc/classes/LibXML.html +237 -0
  9. data/doc/classes/LibXML/XML.html +178 -0
  10. data/doc/classes/{XML → LibXML/XML}/Attr.html +213 -182
  11. data/doc/classes/{XML → LibXML/XML}/Attributes.html +126 -54
  12. data/doc/classes/{XML → LibXML/XML}/Document.html +299 -297
  13. data/doc/classes/{XML → LibXML/XML}/Dtd.html +10 -10
  14. data/doc/classes/{XML/XInclude → LibXML/XML}/Error.html +4 -4
  15. data/doc/classes/{XML → LibXML/XML}/HTMLParser.html +40 -40
  16. data/doc/classes/{XML → LibXML/XML}/InputCallbacks.html +10 -10
  17. data/doc/classes/{XML → LibXML/XML}/NS.html +46 -46
  18. data/doc/classes/{XML → LibXML/XML}/Node.html +935 -788
  19. data/doc/classes/LibXML/XML/Node/FailedModify.html +111 -0
  20. data/doc/classes/{XML → LibXML/XML}/Node/Set.html +69 -68
  21. data/doc/classes/{XML → LibXML/XML}/Node/SetNamespace.html +4 -4
  22. data/doc/classes/{XML/Node/FailedModify.html → LibXML/XML/Node/UnknownType.html} +4 -4
  23. data/doc/classes/{XML → LibXML/XML}/Parser.html +426 -389
  24. data/doc/classes/{XML → LibXML/XML}/Parser/Context.html +208 -208
  25. data/doc/classes/{XML → LibXML/XML}/Parser/ParseError.html +4 -4
  26. data/doc/classes/{XML → LibXML/XML}/Reader.html +288 -287
  27. data/doc/classes/{XML → LibXML/XML}/SaxParser.html +52 -52
  28. data/doc/classes/{XML/XPath/Context.html → LibXML/XML/Schema.html} +60 -32
  29. data/doc/classes/{XML → LibXML/XML}/State.html +4 -4
  30. data/doc/classes/{XML/Node/UnknownType.html → LibXML/XML/Tree.html} +5 -5
  31. data/doc/classes/{XML → LibXML/XML}/XInclude.html +5 -5
  32. data/doc/classes/{XML → LibXML/XML/XInclude}/Error.html +5 -5
  33. data/doc/classes/{XML → LibXML/XML}/XMLParserOptions.html +5 -5
  34. data/doc/classes/{XML → LibXML/XML}/XPath.html +23 -64
  35. data/doc/classes/LibXML/XML/XPath/Context.html +403 -0
  36. data/doc/classes/{XML/XPointer/Context → LibXML/XML/XPath}/InvalidPath.html +4 -4
  37. data/doc/classes/LibXML/XML/XPath/Object.html +623 -0
  38. data/doc/classes/{XML → LibXML/XML}/XPointer.html +12 -12
  39. data/doc/classes/{XML → LibXML/XML}/XPointer/Context.html +5 -5
  40. data/doc/classes/{XML/XPath → LibXML/XML/XPointer/Context}/InvalidPath.html +5 -5
  41. data/doc/classes/{XML → LibXML/XML}/XPointer/InvalidExpression.html +4 -4
  42. data/doc/classes/XML.html +17 -123
  43. data/doc/created.rid +1 -1
  44. data/doc/files/CHANGES.html +49 -25
  45. data/doc/files/LICENSE.html +1 -1
  46. data/doc/files/README.html +79 -4
  47. data/doc/files/VERSION.html +2 -2
  48. data/doc/files/ext/libxml/cbg_c.html +1 -1
  49. data/doc/files/ext/libxml/libxml_c.html +1 -1
  50. data/doc/files/ext/libxml/ruby_xml_attr_c.html +1 -1
  51. data/doc/files/ext/libxml/ruby_xml_attributes_c.html +1 -1
  52. data/doc/files/ext/libxml/ruby_xml_document_c.html +1 -1
  53. data/doc/files/ext/libxml/ruby_xml_dtd_c.html +1 -1
  54. data/doc/files/ext/libxml/ruby_xml_html_parser_c.html +1 -1
  55. data/doc/files/ext/libxml/ruby_xml_input_cbg_c.html +1 -1
  56. data/doc/files/ext/libxml/ruby_xml_node_c.html +1 -1
  57. data/doc/files/ext/libxml/ruby_xml_node_set_c.html +1 -1
  58. data/doc/files/ext/libxml/ruby_xml_ns_c.html +1 -1
  59. data/doc/files/ext/libxml/ruby_xml_parser_c.html +1 -1
  60. data/doc/files/ext/libxml/ruby_xml_parser_context_c.html +1 -1
  61. data/doc/files/ext/libxml/ruby_xml_reader_c.html +1 -1
  62. data/doc/files/ext/libxml/ruby_xml_sax_parser_c.html +1 -1
  63. data/doc/files/ext/libxml/ruby_xml_schema_c.html +1 -1
  64. data/doc/files/ext/libxml/ruby_xml_state_c.html +1 -1
  65. data/doc/files/ext/libxml/ruby_xml_xinclude_c.html +1 -1
  66. data/doc/files/ext/libxml/ruby_xml_xpath_c.html +1 -1
  67. data/doc/files/ext/libxml/ruby_xml_xpath_context_c.html +1 -1
  68. data/doc/files/ext/libxml/ruby_xml_xpath_object_c.html +1 -1
  69. data/doc/files/ext/libxml/ruby_xml_xpointer_c.html +1 -1
  70. data/doc/files/ext/libxml/ruby_xml_xpointer_context_c.html +1 -1
  71. data/doc/files/lib/libxml/attr_rb.html +108 -0
  72. data/doc/files/lib/libxml/attributes_rb.html +108 -0
  73. data/doc/files/lib/libxml/document_rb.html +108 -0
  74. data/doc/files/lib/libxml/node_rb.html +108 -0
  75. data/doc/files/lib/libxml/node_set_rb.html +108 -0
  76. data/doc/files/lib/libxml/parser_options_rb.html +107 -0
  77. data/doc/files/{ext/libxml/ruby_xml_tree_c.html → lib/libxml/parser_rb.html} +4 -4
  78. data/doc/files/lib/libxml/properties_rb.html +108 -0
  79. data/doc/files/lib/libxml/tree_rb.html +107 -0
  80. data/doc/files/lib/libxml_rb.html +12 -3
  81. data/doc/fr_class_index.html +34 -32
  82. data/doc/fr_file_index.html +9 -1
  83. data/doc/fr_method_index.html +362 -347
  84. data/ext/libxml/cbg.c +76 -76
  85. data/ext/libxml/libxml.c +4 -3
  86. data/ext/libxml/ruby_libxml.h +1 -1
  87. data/ext/libxml/ruby_xml_attr.c +4 -3
  88. data/ext/libxml/ruby_xml_attr.h +16 -16
  89. data/ext/libxml/ruby_xml_attributes.c +267 -266
  90. data/ext/libxml/ruby_xml_attributes.h +17 -17
  91. data/ext/libxml/ruby_xml_document.c +30 -59
  92. data/ext/libxml/ruby_xml_document.h +27 -27
  93. data/ext/libxml/ruby_xml_dtd.c +2 -1
  94. data/ext/libxml/ruby_xml_dtd.h +17 -17
  95. data/ext/libxml/ruby_xml_html_parser.c +3 -2
  96. data/ext/libxml/ruby_xml_html_parser.h +29 -29
  97. data/ext/libxml/ruby_xml_input_cbg.c +2 -1
  98. data/ext/libxml/ruby_xml_input_cbg.h +20 -20
  99. data/ext/libxml/ruby_xml_node.c +127 -470
  100. data/ext/libxml/ruby_xml_node.h +17 -17
  101. data/ext/libxml/ruby_xml_node_set.c +5 -4
  102. data/ext/libxml/ruby_xml_node_set.h +20 -20
  103. data/ext/libxml/ruby_xml_ns.c +3 -2
  104. data/ext/libxml/ruby_xml_ns.h +12 -12
  105. data/ext/libxml/ruby_xml_parser.c +20 -48
  106. data/ext/libxml/ruby_xml_parser.h +31 -31
  107. data/ext/libxml/ruby_xml_parser_context.c +3 -2
  108. data/ext/libxml/ruby_xml_parser_context.h +20 -20
  109. data/ext/libxml/ruby_xml_reader.c +2 -1
  110. data/ext/libxml/ruby_xml_sax_parser.c +3 -2
  111. data/ext/libxml/ruby_xml_sax_parser.h +56 -56
  112. data/ext/libxml/ruby_xml_schema.c +6 -0
  113. data/ext/libxml/ruby_xml_schema.h +16 -16
  114. data/ext/libxml/ruby_xml_state.c +13 -12
  115. data/ext/libxml/ruby_xml_state.h +1 -1
  116. data/ext/libxml/ruby_xml_xinclude.c +3 -2
  117. data/ext/libxml/ruby_xml_xinclude.h +13 -13
  118. data/ext/libxml/ruby_xml_xpath.c +35 -228
  119. data/ext/libxml/ruby_xml_xpath.h +22 -23
  120. data/ext/libxml/ruby_xml_xpath_context.c +223 -62
  121. data/ext/libxml/ruby_xml_xpath_context.h +15 -20
  122. data/ext/libxml/ruby_xml_xpath_object.c +63 -19
  123. data/ext/libxml/ruby_xml_xpointer.c +19 -15
  124. data/ext/libxml/ruby_xml_xpointer.h +27 -27
  125. data/ext/libxml/ruby_xml_xpointer_context.c +3 -2
  126. data/ext/libxml/ruby_xml_xpointer_context.h +18 -18
  127. data/ext/libxml/version.h +9 -9
  128. data/lib/libxml.rb +16 -128
  129. data/lib/libxml/attr.rb +45 -0
  130. data/lib/libxml/attributes.rb +15 -0
  131. data/lib/libxml/document.rb +54 -0
  132. data/lib/libxml/node.rb +132 -0
  133. data/lib/libxml/node_set.rb +27 -0
  134. data/lib/libxml/parser.rb +42 -0
  135. data/lib/libxml/parser_options.rb +25 -0
  136. data/lib/libxml/properties.rb +19 -0
  137. data/lib/libxml/tree.rb +29 -0
  138. data/lib/libxml_ruby.so +0 -0
  139. data/mingw/libxml_ruby.so +0 -0
  140. data/{work/task/setup → setup.rb} +1585 -1616
  141. data/test/gc.log +0 -0
  142. data/test/model/books.xml +147 -0
  143. data/{work/test/runner.rb → test/model/default_validation_bug.rb} +0 -0
  144. data/test/model/merge_bug_data.xml +58 -0
  145. data/test/model/rubynet.xml +78 -0
  146. data/test/model/rubynet_project +1 -0
  147. data/test/model/saxtest.xml +5 -0
  148. data/test/model/shiporder.xml +23 -0
  149. data/test/model/shiporder.xsd +31 -0
  150. data/test/model/simple.xml +7 -0
  151. data/test/model/soap.xml +27 -0
  152. data/test/model/xinclude.xml +5 -0
  153. data/test/tc_deprecated_require.rb +13 -0
  154. data/test/tc_xml_document.rb +57 -16
  155. data/test/tc_xml_document_write.rb +125 -10
  156. data/test/tc_xml_dtd.rb +22 -1
  157. data/test/tc_xml_node.rb +13 -0
  158. data/test/tc_xml_node_edit.rb +1 -1
  159. data/test/tc_xml_node_xlink.rb +1 -1
  160. data/test/tc_xml_parser.rb +64 -7
  161. data/test/tc_xml_properties.rb +42 -0
  162. data/test/tc_xml_reader.rb +4 -4
  163. data/test/tc_xml_sax_parser.rb +50 -50
  164. data/test/tc_xml_schema.rb +2 -2
  165. data/test/tc_xml_traversal.rb +220 -0
  166. data/test/tc_xml_xinclude.rb +12 -15
  167. data/test/tc_xml_xpath.rb +74 -6
  168. data/test/tc_xml_xpath_context.rb +72 -0
  169. data/test/test_suite.rb +6 -4
  170. data/vc/libxml_ruby.vcproj +1 -9
  171. metadata +92 -65
  172. data/doc/classes/XML/SiblingEnum.html +0 -142
  173. data/doc/classes/XML/Tree.html +0 -224
  174. data/doc/classes/XML/XPath/Object.html +0 -439
  175. data/ext/libxml/ruby_xml_tree.c +0 -43
  176. data/ext/libxml/ruby_xml_tree.h +0 -12
  177. data/test/ets_copy_bug2.rb +0 -21
  178. data/test/tc_xml_document_write2.rb +0 -54
  179. data/test/tc_xml_document_write3.rb +0 -96
  180. data/test/tc_xml_sax_parser2.rb +0 -51
  181. data/work/Rakefile +0 -247
  182. data/work/task/make +0 -26
  183. data/work/task/memory +0 -37
  184. data/work/task/rdoc +0 -39
  185. data/work/task/test +0 -29
  186. data/work/test/ets_runner.rb +0 -33
  187. data/work/test/libxml_test.rb +0 -3
  188. data/work/test/runner_ets.rb +0 -33
@@ -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</title>
8
+ <title>Class: LibXML::XML::Node</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="../.././rdoc-style.css" type="text/css" media="screen" />
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,25 @@
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</td>
53
+ <td class="class-name-in-header">LibXML::XML::Node</td>
54
54
  </tr>
55
55
  <tr class="top-aligned-row">
56
56
  <td><strong>In:</strong></td>
57
57
  <td>
58
- <a href="../../files/ext/libxml/libxml_c.html">
58
+ <a href="../../../files/ext/libxml/libxml_c.html">
59
59
  ext/libxml/libxml.c
60
60
  </a>
61
61
  <br />
62
- <a href="../../files/lib/libxml_rb.html">
63
- lib/libxml.rb
62
+ <a href="../../../files/lib/libxml/node_rb.html">
63
+ lib/libxml/node.rb
64
+ </a>
65
+ <br />
66
+ <a href="../../../files/lib/libxml/node_set_rb.html">
67
+ lib/libxml/node_set.rb
68
+ </a>
69
+ <br />
70
+ <a href="../../../files/lib/libxml/properties_rb.html">
71
+ lib/libxml/properties.rb
64
72
  </a>
65
73
  <br />
66
74
  </td>
@@ -90,99 +98,101 @@
90
98
  <h3 class="section-bar">Methods</h3>
91
99
 
92
100
  <div class="name-list">
93
- <a href="#M000098">&lt;&lt;</a>&nbsp;&nbsp;
94
- <a href="#M000179">==</a>&nbsp;&nbsp;
95
- <a href="#M000099">[]</a>&nbsp;&nbsp;
96
- <a href="#M000100">[]=</a>&nbsp;&nbsp;
97
- <a href="#M000101">attribute?</a>&nbsp;&nbsp;
98
- <a href="#M000102">attribute_decl?</a>&nbsp;&nbsp;
99
- <a href="#M000103">attributes</a>&nbsp;&nbsp;
100
- <a href="#M000104">attributes?</a>&nbsp;&nbsp;
101
- <a href="#M000105">base</a>&nbsp;&nbsp;
102
- <a href="#M000106">base=</a>&nbsp;&nbsp;
103
- <a href="#M000107">blank?</a>&nbsp;&nbsp;
104
- <a href="#M000108">cdata?</a>&nbsp;&nbsp;
105
- <a href="#M000111">child</a>&nbsp;&nbsp;
106
- <a href="#M000113">child=</a>&nbsp;&nbsp;
107
- <a href="#M000112">child?</a>&nbsp;&nbsp;
108
- <a href="#M000114">child_add</a>&nbsp;&nbsp;
109
- <a href="#M000115">children</a>&nbsp;&nbsp;
110
- <a href="#M000116">children?</a>&nbsp;&nbsp;
111
- <a href="#M000186">clone</a>&nbsp;&nbsp;
112
- <a href="#M000109">comment?</a>&nbsp;&nbsp;
113
- <a href="#M000117">content</a>&nbsp;&nbsp;
114
- <a href="#M000118">content=</a>&nbsp;&nbsp;
115
- <a href="#M000119">content_stripped</a>&nbsp;&nbsp;
116
- <a href="#M000110">copy</a>&nbsp;&nbsp;
117
- <a href="#M000126">debug_dump</a>&nbsp;&nbsp;
118
- <a href="#M000120">doc</a>&nbsp;&nbsp;
119
- <a href="#M000121">docbook_doc?</a>&nbsp;&nbsp;
120
- <a href="#M000122">doctype?</a>&nbsp;&nbsp;
121
- <a href="#M000123">document?</a>&nbsp;&nbsp;
122
- <a href="#M000124">dtd?</a>&nbsp;&nbsp;
123
- <a href="#M000125">dump</a>&nbsp;&nbsp;
124
- <a href="#M000184">each</a>&nbsp;&nbsp;
125
- <a href="#M000182">each_attr</a>&nbsp;&nbsp;
126
- <a href="#M000181">each_child</a>&nbsp;&nbsp;
127
- <a href="#M000183">each_sibling</a>&nbsp;&nbsp;
128
- <a href="#M000127">element?</a>&nbsp;&nbsp;
129
- <a href="#M000128">element_decl?</a>&nbsp;&nbsp;
130
- <a href="#M000129">empty?</a>&nbsp;&nbsp;
131
- <a href="#M000130">entity?</a>&nbsp;&nbsp;
132
- <a href="#M000131">entity_ref?</a>&nbsp;&nbsp;
133
- <a href="#M000132">eql?</a>&nbsp;&nbsp;
134
- <a href="#M000133">find</a>&nbsp;&nbsp;
135
- <a href="#M000134">find_first</a>&nbsp;&nbsp;
136
- <a href="#M000135">fragment?</a>&nbsp;&nbsp;
137
- <a href="#M000136">html_doc?</a>&nbsp;&nbsp;
138
- <a href="#M000137">lang</a>&nbsp;&nbsp;
139
- <a href="#M000138">lang=</a>&nbsp;&nbsp;
140
- <a href="#M000139">last</a>&nbsp;&nbsp;
141
- <a href="#M000140">last?</a>&nbsp;&nbsp;
142
- <a href="#M000141">line_num</a>&nbsp;&nbsp;
143
- <a href="#M000142">name</a>&nbsp;&nbsp;
144
- <a href="#M000143">name=</a>&nbsp;&nbsp;
145
- <a href="#M000144">namespace</a>&nbsp;&nbsp;
146
- <a href="#M000147">namespace=</a>&nbsp;&nbsp;
147
- <a href="#M000146">namespace?</a>&nbsp;&nbsp;
148
- <a href="#M000145">namespace_node</a>&nbsp;&nbsp;
149
- <a href="#M000094">new</a>&nbsp;&nbsp;
150
- <a href="#M000095">new_cdata</a>&nbsp;&nbsp;
151
- <a href="#M000096">new_comment</a>&nbsp;&nbsp;
152
- <a href="#M000097">new_text</a>&nbsp;&nbsp;
153
- <a href="#M000148">next</a>&nbsp;&nbsp;
154
- <a href="#M000150">next=</a>&nbsp;&nbsp;
155
- <a href="#M000149">next?</a>&nbsp;&nbsp;
156
- <a href="#M000151">node_type</a>&nbsp;&nbsp;
157
- <a href="#M000152">node_type_name</a>&nbsp;&nbsp;
158
- <a href="#M000153">notation?</a>&nbsp;&nbsp;
159
- <a href="#M000154">ns</a>&nbsp;&nbsp;
160
- <a href="#M000155">ns?</a>&nbsp;&nbsp;
161
- <a href="#M000156">ns_def</a>&nbsp;&nbsp;
162
- <a href="#M000157">ns_def?</a>&nbsp;&nbsp;
163
- <a href="#M000158">parent</a>&nbsp;&nbsp;
164
- <a href="#M000159">parent?</a>&nbsp;&nbsp;
165
- <a href="#M000160">path</a>&nbsp;&nbsp;
166
- <a href="#M000161">pi?</a>&nbsp;&nbsp;
167
- <a href="#M000162">pointer</a>&nbsp;&nbsp;
168
- <a href="#M000163">prev</a>&nbsp;&nbsp;
169
- <a href="#M000165">prev=</a>&nbsp;&nbsp;
170
- <a href="#M000164">prev?</a>&nbsp;&nbsp;
171
- <a href="#M000180">properties?</a>&nbsp;&nbsp;
172
- <a href="#M000166">remove!</a>&nbsp;&nbsp;
173
- <a href="#M000168">search_href</a>&nbsp;&nbsp;
174
- <a href="#M000167">search_ns</a>&nbsp;&nbsp;
175
- <a href="#M000169">sibling=</a>&nbsp;&nbsp;
176
- <a href="#M000170">space_preserve</a>&nbsp;&nbsp;
177
- <a href="#M000171">space_preserve=</a>&nbsp;&nbsp;
178
- <a href="#M000172">text?</a>&nbsp;&nbsp;
179
- <a href="#M000185">to_a</a>&nbsp;&nbsp;
180
- <a href="#M000173">to_s</a>&nbsp;&nbsp;
181
- <a href="#M000174">xinclude_end?</a>&nbsp;&nbsp;
182
- <a href="#M000175">xinclude_start?</a>&nbsp;&nbsp;
183
- <a href="#M000176">xlink?</a>&nbsp;&nbsp;
184
- <a href="#M000177">xlink_type</a>&nbsp;&nbsp;
185
- <a href="#M000178">xlink_type_name</a>&nbsp;&nbsp;
101
+ <a href="#M000122">&lt;&lt;</a>&nbsp;&nbsp;
102
+ <a href="#M000187">==</a>&nbsp;&nbsp;
103
+ <a href="#M000115">[]</a>&nbsp;&nbsp;
104
+ <a href="#M000123">[]=</a>&nbsp;&nbsp;
105
+ <a href="#M000129">attribute?</a>&nbsp;&nbsp;
106
+ <a href="#M000130">attribute_decl?</a>&nbsp;&nbsp;
107
+ <a href="#M000131">attributes</a>&nbsp;&nbsp;
108
+ <a href="#M000132">attributes?</a>&nbsp;&nbsp;
109
+ <a href="#M000133">base</a>&nbsp;&nbsp;
110
+ <a href="#M000134">base=</a>&nbsp;&nbsp;
111
+ <a href="#M000135">blank?</a>&nbsp;&nbsp;
112
+ <a href="#M000136">cdata?</a>&nbsp;&nbsp;
113
+ <a href="#M000203">child</a>&nbsp;&nbsp;
114
+ <a href="#M000125">child=</a>&nbsp;&nbsp;
115
+ <a href="#M000201">child?</a>&nbsp;&nbsp;
116
+ <a href="#M000124">child_add</a>&nbsp;&nbsp;
117
+ <a href="#M000194">children</a>&nbsp;&nbsp;
118
+ <a href="#M000202">children?</a>&nbsp;&nbsp;
119
+ <a href="#M000200">clone</a>&nbsp;&nbsp;
120
+ <a href="#M000137">comment?</a>&nbsp;&nbsp;
121
+ <a href="#M000139">content</a>&nbsp;&nbsp;
122
+ <a href="#M000140">content=</a>&nbsp;&nbsp;
123
+ <a href="#M000141">content_stripped</a>&nbsp;&nbsp;
124
+ <a href="#M000138">copy</a>&nbsp;&nbsp;
125
+ <a href="#M000148">debug_dump</a>&nbsp;&nbsp;
126
+ <a href="#M000142">doc</a>&nbsp;&nbsp;
127
+ <a href="#M000143">docbook_doc?</a>&nbsp;&nbsp;
128
+ <a href="#M000144">doctype?</a>&nbsp;&nbsp;
129
+ <a href="#M000145">document?</a>&nbsp;&nbsp;
130
+ <a href="#M000146">dtd?</a>&nbsp;&nbsp;
131
+ <a href="#M000147">dump</a>&nbsp;&nbsp;
132
+ <a href="#M000199">dup</a>&nbsp;&nbsp;
133
+ <a href="#M000116">each</a>&nbsp;&nbsp;
134
+ <a href="#M000204">each_child</a>&nbsp;&nbsp;
135
+ <a href="#M000191">each_element</a>&nbsp;&nbsp;
136
+ <a href="#M000149">element?</a>&nbsp;&nbsp;
137
+ <a href="#M000150">element_decl?</a>&nbsp;&nbsp;
138
+ <a href="#M000151">empty?</a>&nbsp;&nbsp;
139
+ <a href="#M000152">entity?</a>&nbsp;&nbsp;
140
+ <a href="#M000153">entity_ref?</a>&nbsp;&nbsp;
141
+ <a href="#M000154">eql?</a>&nbsp;&nbsp;
142
+ <a href="#M000189">find</a>&nbsp;&nbsp;
143
+ <a href="#M000190">find_first</a>&nbsp;&nbsp;
144
+ <a href="#M000117">first</a>&nbsp;&nbsp;
145
+ <a href="#M000193">first?</a>&nbsp;&nbsp;
146
+ <a href="#M000155">fragment?</a>&nbsp;&nbsp;
147
+ <a href="#M000156">html_doc?</a>&nbsp;&nbsp;
148
+ <a href="#M000157">lang</a>&nbsp;&nbsp;
149
+ <a href="#M000158">lang=</a>&nbsp;&nbsp;
150
+ <a href="#M000118">last</a>&nbsp;&nbsp;
151
+ <a href="#M000197">last?</a>&nbsp;&nbsp;
152
+ <a href="#M000159">line_num</a>&nbsp;&nbsp;
153
+ <a href="#M000160">name</a>&nbsp;&nbsp;
154
+ <a href="#M000161">name=</a>&nbsp;&nbsp;
155
+ <a href="#M000162">namespace</a>&nbsp;&nbsp;
156
+ <a href="#M000165">namespace=</a>&nbsp;&nbsp;
157
+ <a href="#M000164">namespace?</a>&nbsp;&nbsp;
158
+ <a href="#M000163">namespace_node</a>&nbsp;&nbsp;
159
+ <a href="#M000111">new</a>&nbsp;&nbsp;
160
+ <a href="#M000112">new_cdata</a>&nbsp;&nbsp;
161
+ <a href="#M000113">new_comment</a>&nbsp;&nbsp;
162
+ <a href="#M000114">new_text</a>&nbsp;&nbsp;
163
+ <a href="#M000119">next</a>&nbsp;&nbsp;
164
+ <a href="#M000127">next=</a>&nbsp;&nbsp;
165
+ <a href="#M000195">next?</a>&nbsp;&nbsp;
166
+ <a href="#M000166">node_type</a>&nbsp;&nbsp;
167
+ <a href="#M000198">node_type_name</a>&nbsp;&nbsp;
168
+ <a href="#M000167">notation?</a>&nbsp;&nbsp;
169
+ <a href="#M000168">ns</a>&nbsp;&nbsp;
170
+ <a href="#M000169">ns?</a>&nbsp;&nbsp;
171
+ <a href="#M000170">ns_def</a>&nbsp;&nbsp;
172
+ <a href="#M000171">ns_def?</a>&nbsp;&nbsp;
173
+ <a href="#M000120">parent</a>&nbsp;&nbsp;
174
+ <a href="#M000192">parent?</a>&nbsp;&nbsp;
175
+ <a href="#M000172">path</a>&nbsp;&nbsp;
176
+ <a href="#M000173">pi?</a>&nbsp;&nbsp;
177
+ <a href="#M000174">pointer</a>&nbsp;&nbsp;
178
+ <a href="#M000121">prev</a>&nbsp;&nbsp;
179
+ <a href="#M000128">prev=</a>&nbsp;&nbsp;
180
+ <a href="#M000196">prev?</a>&nbsp;&nbsp;
181
+ <a href="#M000205">properties</a>&nbsp;&nbsp;
182
+ <a href="#M000188">properties?</a>&nbsp;&nbsp;
183
+ <a href="#M000175">remove!</a>&nbsp;&nbsp;
184
+ <a href="#M000177">search_href</a>&nbsp;&nbsp;
185
+ <a href="#M000176">search_ns</a>&nbsp;&nbsp;
186
+ <a href="#M000126">sibling=</a>&nbsp;&nbsp;
187
+ <a href="#M000178">space_preserve</a>&nbsp;&nbsp;
188
+ <a href="#M000179">space_preserve=</a>&nbsp;&nbsp;
189
+ <a href="#M000180">text?</a>&nbsp;&nbsp;
190
+ <a href="#M000181">to_s</a>&nbsp;&nbsp;
191
+ <a href="#M000182">xinclude_end?</a>&nbsp;&nbsp;
192
+ <a href="#M000183">xinclude_start?</a>&nbsp;&nbsp;
193
+ <a href="#M000184">xlink?</a>&nbsp;&nbsp;
194
+ <a href="#M000185">xlink_type</a>&nbsp;&nbsp;
195
+ <a href="#M000186">xlink_type_name</a>&nbsp;&nbsp;
186
196
  </div>
187
197
  </div>
188
198
 
@@ -194,7 +204,6 @@
194
204
  <h3 class="section-bar">Included Modules</h3>
195
205
 
196
206
  <div id="includes-list">
197
- <span class="include-name"><a href="SiblingEnum.html">XML::SiblingEnum</a></span>
198
207
  <span class="include-name">Enumerable</span>
199
208
  </div>
200
209
  </div>
@@ -204,10 +213,10 @@
204
213
  <div id="class-list">
205
214
  <h3 class="section-bar">Classes and Modules</h3>
206
215
 
207
- Class <a href="Node/FailedModify.html" class="link">XML::Node::FailedModify</a><br />
208
- Class <a href="Node/Set.html" class="link">XML::Node::Set</a><br />
209
- Class <a href="Node/SetNamespace.html" class="link">XML::Node::SetNamespace</a><br />
210
- Class <a href="Node/UnknownType.html" class="link">XML::Node::UnknownType</a><br />
216
+ Class <a href="Node/FailedModify.html" class="link">LibXML::XML::Node::FailedModify</a><br />
217
+ Class <a href="Node/Set.html" class="link">LibXML::XML::Node::Set</a><br />
218
+ Class <a href="Node/SetNamespace.html" class="link">LibXML::XML::Node::SetNamespace</a><br />
219
+ Class <a href="Node/UnknownType.html" class="link">LibXML::XML::Node::UnknownType</a><br />
211
220
 
212
221
  </div>
213
222
 
@@ -286,6 +295,116 @@ Class <a href="Node/UnknownType.html" class="link">XML::Node::UnknownType</a><br
286
295
  <td>=</td>
287
296
  <td class="context-item-value">INT2NUM(1)</td>
288
297
  </tr>
298
+ <tr class="top-aligned-row context-row">
299
+ <td class="context-item-name">ELEMENT_NODE</td>
300
+ <td>=</td>
301
+ <td class="context-item-value">INT2FIX(XML_ELEMENT_NODE)</td>
302
+ </tr>
303
+ <tr class="top-aligned-row context-row">
304
+ <td class="context-item-name">ATTRIBUTE_NODE</td>
305
+ <td>=</td>
306
+ <td class="context-item-value">INT2FIX(XML_ATTRIBUTE_NODE)</td>
307
+ </tr>
308
+ <tr class="top-aligned-row context-row">
309
+ <td class="context-item-name">TEXT_NODE</td>
310
+ <td>=</td>
311
+ <td class="context-item-value">INT2FIX(XML_TEXT_NODE)</td>
312
+ </tr>
313
+ <tr class="top-aligned-row context-row">
314
+ <td class="context-item-name">CDATA_SECTION_NODE</td>
315
+ <td>=</td>
316
+ <td class="context-item-value">INT2FIX(XML_CDATA_SECTION_NODE)</td>
317
+ </tr>
318
+ <tr class="top-aligned-row context-row">
319
+ <td class="context-item-name">ENTITY_REF_NODE</td>
320
+ <td>=</td>
321
+ <td class="context-item-value">INT2FIX(XML_ENTITY_REF_NODE)</td>
322
+ </tr>
323
+ <tr class="top-aligned-row context-row">
324
+ <td class="context-item-name">ENTITY_NODE</td>
325
+ <td>=</td>
326
+ <td class="context-item-value">INT2FIX(XML_ENTITY_NODE)</td>
327
+ </tr>
328
+ <tr class="top-aligned-row context-row">
329
+ <td class="context-item-name">PI_NODE</td>
330
+ <td>=</td>
331
+ <td class="context-item-value">INT2FIX(XML_PI_NODE)</td>
332
+ </tr>
333
+ <tr class="top-aligned-row context-row">
334
+ <td class="context-item-name">COMMENT_NODE</td>
335
+ <td>=</td>
336
+ <td class="context-item-value">INT2FIX(XML_COMMENT_NODE)</td>
337
+ </tr>
338
+ <tr class="top-aligned-row context-row">
339
+ <td class="context-item-name">DOCUMENT_NODE</td>
340
+ <td>=</td>
341
+ <td class="context-item-value">INT2FIX(XML_DOCUMENT_NODE)</td>
342
+ </tr>
343
+ <tr class="top-aligned-row context-row">
344
+ <td class="context-item-name">DOCUMENT_TYPE_NODE</td>
345
+ <td>=</td>
346
+ <td class="context-item-value">INT2FIX(XML_DOCUMENT_TYPE_NODE)</td>
347
+ </tr>
348
+ <tr class="top-aligned-row context-row">
349
+ <td class="context-item-name">DOCUMENT_FRAG_NODE</td>
350
+ <td>=</td>
351
+ <td class="context-item-value">INT2FIX(XML_DOCUMENT_FRAG_NODE)</td>
352
+ </tr>
353
+ <tr class="top-aligned-row context-row">
354
+ <td class="context-item-name">NOTATION_NODE</td>
355
+ <td>=</td>
356
+ <td class="context-item-value">INT2FIX(XML_NOTATION_NODE)</td>
357
+ </tr>
358
+ <tr class="top-aligned-row context-row">
359
+ <td class="context-item-name">HTML_DOCUMENT_NODE</td>
360
+ <td>=</td>
361
+ <td class="context-item-value">INT2FIX(XML_HTML_DOCUMENT_NODE)</td>
362
+ </tr>
363
+ <tr class="top-aligned-row context-row">
364
+ <td class="context-item-name">DTD_NODE</td>
365
+ <td>=</td>
366
+ <td class="context-item-value">INT2FIX(XML_DTD_NODE)</td>
367
+ </tr>
368
+ <tr class="top-aligned-row context-row">
369
+ <td class="context-item-name">ELEMENT_DECL</td>
370
+ <td>=</td>
371
+ <td class="context-item-value">INT2FIX(XML_ELEMENT_DECL)</td>
372
+ </tr>
373
+ <tr class="top-aligned-row context-row">
374
+ <td class="context-item-name">ATTRIBUTE_DECL</td>
375
+ <td>=</td>
376
+ <td class="context-item-value">INT2FIX(XML_ATTRIBUTE_DECL)</td>
377
+ </tr>
378
+ <tr class="top-aligned-row context-row">
379
+ <td class="context-item-name">ENTITY_DECL</td>
380
+ <td>=</td>
381
+ <td class="context-item-value">INT2FIX(XML_ENTITY_DECL)</td>
382
+ </tr>
383
+ <tr class="top-aligned-row context-row">
384
+ <td class="context-item-name">NAMESPACE_DECL</td>
385
+ <td>=</td>
386
+ <td class="context-item-value">INT2FIX(XML_NAMESPACE_DECL)</td>
387
+ </tr>
388
+ <tr class="top-aligned-row context-row">
389
+ <td class="context-item-name">XINCLUDE_START</td>
390
+ <td>=</td>
391
+ <td class="context-item-value">INT2FIX(XML_XINCLUDE_START)</td>
392
+ </tr>
393
+ <tr class="top-aligned-row context-row">
394
+ <td class="context-item-name">XINCLUDE_END</td>
395
+ <td>=</td>
396
+ <td class="context-item-value">INT2FIX(XML_XINCLUDE_END)</td>
397
+ </tr>
398
+ <tr class="top-aligned-row context-row">
399
+ <td class="context-item-name">DOCB_DOCUMENT_NODE</td>
400
+ <td>=</td>
401
+ <td class="context-item-value">INT2FIX(XML_DOCB_DOCUMENT_NODE)</td>
402
+ </tr>
403
+ <tr class="top-aligned-row context-row">
404
+ <td class="context-item-name">DOCB_DOCUMENT_NODE</td>
405
+ <td>=</td>
406
+ <td class="context-item-value">Qnil</td>
407
+ </tr>
289
408
  </table>
290
409
  </div>
291
410
  </div>
@@ -299,13 +418,13 @@ Class <a href="Node/UnknownType.html" class="link">XML::Node::UnknownType</a><br
299
418
  <div id="methods">
300
419
  <h3 class="section-bar">Public Class methods</h3>
301
420
 
302
- <div id="method-M000094" class="method-detail">
303
- <a name="M000094"></a>
421
+ <div id="method-M000111" class="method-detail">
422
+ <a name="M000111"></a>
304
423
 
305
424
  <div class="method-heading">
306
- <a href="#M000094" class="method-signature">
307
- <span class="method-name">XML::Node.new(name, content = nil) &rarr; node<br />
308
- XML::Node.new_element(name, content = nil) &rarr; node<br />
425
+ <a href="#M000111" class="method-signature">
426
+ <span class="method-name">XML::Node.new(name, content = nil) &rarr; XML::Node<br />
427
+ XML::Node.new_element(name, content = nil) &rarr; XML::Node<br />
309
428
  </span>
310
429
  </a>
311
430
  </div>
@@ -316,13 +435,13 @@ Create a new element node with the specified name, optionally setting the
316
435
  node&#8217;s content. backward compatibility for &lt;.5 new
317
436
  </p>
318
437
  <p><a class="source-toggle" href="#"
319
- onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
320
- <div class="method-source-code" id="M000094-source">
438
+ onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
439
+ <div class="method-source-code" id="M000111-source">
321
440
  <pre>
322
441
  /*
323
442
  * call-seq:
324
- * XML::Node.new(name, content = nil) -&gt; node
325
- * XML::Node.new_element(name, content = nil) -&gt; node
443
+ * XML::Node.new(name, content = nil) -&gt; XML::Node
444
+ * XML::Node.new_element(name, content = nil) -&gt; XML::Node
326
445
  *
327
446
  * Create a new element node with the specified name, optionally setting
328
447
  * the node's content.
@@ -352,12 +471,12 @@ ruby_xml_node2_new_string_bc(int argc, VALUE *argv, VALUE class)
352
471
  </div>
353
472
  </div>
354
473
 
355
- <div id="method-M000095" class="method-detail">
356
- <a name="M000095"></a>
474
+ <div id="method-M000112" class="method-detail">
475
+ <a name="M000112"></a>
357
476
 
358
477
  <div class="method-heading">
359
- <a href="#M000095" class="method-signature">
360
- <span class="method-name">XML::Node.new_cdata(content = nil) &rarr; node<br />
478
+ <a href="#M000112" class="method-signature">
479
+ <span class="method-name">XML::Node.new_cdata(content = nil) &rarr; XML::Node<br />
361
480
  </span>
362
481
  </a>
363
482
  </div>
@@ -367,12 +486,12 @@ ruby_xml_node2_new_string_bc(int argc, VALUE *argv, VALUE class)
367
486
  Create a new CDATA node, optionally setting the node&#8217;s content.
368
487
  </p>
369
488
  <p><a class="source-toggle" href="#"
370
- onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
371
- <div class="method-source-code" id="M000095-source">
489
+ onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
490
+ <div class="method-source-code" id="M000112-source">
372
491
  <pre>
373
492
  /*
374
493
  * call-seq:
375
- * XML::Node.new_cdata(content = nil) -&gt; node
494
+ * XML::Node.new_cdata(content = nil) -&gt; XML::Node
376
495
  *
377
496
  * Create a new #CDATA node, optionally setting
378
497
  * the node's content.
@@ -385,12 +504,12 @@ ruby_xml_node_new_cdata(int argc, VALUE *argv, VALUE class) {
385
504
  </div>
386
505
  </div>
387
506
 
388
- <div id="method-M000096" class="method-detail">
389
- <a name="M000096"></a>
507
+ <div id="method-M000113" class="method-detail">
508
+ <a name="M000113"></a>
390
509
 
391
510
  <div class="method-heading">
392
- <a href="#M000096" class="method-signature">
393
- <span class="method-name">XML::Node.new_comment(content = nil) &rarr; node<br />
511
+ <a href="#M000113" class="method-signature">
512
+ <span class="method-name">XML::Node.new_comment(content = nil) &rarr; XML::Node<br />
394
513
  </span>
395
514
  </a>
396
515
  </div>
@@ -400,12 +519,12 @@ ruby_xml_node_new_cdata(int argc, VALUE *argv, VALUE class) {
400
519
  Create a new comment node, optionally setting the node&#8217;s content.
401
520
  </p>
402
521
  <p><a class="source-toggle" href="#"
403
- onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
404
- <div class="method-source-code" id="M000096-source">
522
+ onclick="toggleCode('M000113-source');return false;">[Source]</a></p>
523
+ <div class="method-source-code" id="M000113-source">
405
524
  <pre>
406
525
  /*
407
526
  * call-seq:
408
- * XML::Node.new_comment(content = nil) -&gt; node
527
+ * XML::Node.new_comment(content = nil) -&gt; XML::Node
409
528
  *
410
529
  * Create a new comment node, optionally setting
411
530
  * the node's content.
@@ -419,12 +538,12 @@ ruby_xml_node_new_comment(int argc, VALUE *argv, VALUE class) {
419
538
  </div>
420
539
  </div>
421
540
 
422
- <div id="method-M000097" class="method-detail">
423
- <a name="M000097"></a>
541
+ <div id="method-M000114" class="method-detail">
542
+ <a name="M000114"></a>
424
543
 
425
544
  <div class="method-heading">
426
- <a href="#M000097" class="method-signature">
427
- <span class="method-name">XML::Node.new_text(content = nil) &rarr; node<br />
545
+ <a href="#M000114" class="method-signature">
546
+ <span class="method-name">XML::Node.new_text(content = nil) &rarr; XML::Node<br />
428
547
  </span>
429
548
  </a>
430
549
  </div>
@@ -434,12 +553,12 @@ ruby_xml_node_new_comment(int argc, VALUE *argv, VALUE class) {
434
553
  Create a new text node, optionally setting the node&#8217;s content.
435
554
  </p>
436
555
  <p><a class="source-toggle" href="#"
437
- onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
438
- <div class="method-source-code" id="M000097-source">
556
+ onclick="toggleCode('M000114-source');return false;">[Source]</a></p>
557
+ <div class="method-source-code" id="M000114-source">
439
558
  <pre>
440
559
  /*
441
560
  * call-seq:
442
- * XML::Node.new_text(content = nil) -&gt; node
561
+ * XML::Node.new_text(content = nil) -&gt; XML::Node
443
562
  *
444
563
  * Create a new text node, optionally setting
445
564
  * the node's content.
@@ -472,12 +591,12 @@ ruby_xml_node_new_text(VALUE class, VALUE text)
472
591
 
473
592
  <h3 class="section-bar">Public Instance methods</h3>
474
593
 
475
- <div id="method-M000098" class="method-detail">
476
- <a name="M000098"></a>
594
+ <div id="method-M000122" class="method-detail">
595
+ <a name="M000122"></a>
477
596
 
478
597
  <div class="method-heading">
479
- <a href="#M000098" class="method-signature">
480
- <span class="method-name">node << ("string" | node) &rarr; node<br />
598
+ <a href="#M000122" class="method-signature">
599
+ <span class="method-name">node << ("string" | node) &rarr; XML::Node<br />
481
600
  </span>
482
601
  </a>
483
602
  </div>
@@ -488,12 +607,12 @@ Add the specified string or <a href="Node.html">XML::Node</a> to this
488
607
  node&#8217;s content.
489
608
  </p>
490
609
  <p><a class="source-toggle" href="#"
491
- onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
492
- <div class="method-source-code" id="M000098-source">
610
+ onclick="toggleCode('M000122-source');return false;">[Source]</a></p>
611
+ <div class="method-source-code" id="M000122-source">
493
612
  <pre>
494
613
  /*
495
614
  * call-seq:
496
- * node &lt;&lt; (&quot;string&quot; | node) -&gt; node
615
+ * node &lt;&lt; (&quot;string&quot; | node) -&gt; XML::Node
497
616
  *
498
617
  * Add the specified string or XML::Node to this node's
499
618
  * content.
@@ -506,8 +625,8 @@ ruby_xml_node_content_add(VALUE self, VALUE obj) {
506
625
  </div>
507
626
  </div>
508
627
 
509
- <div id="method-M000179" class="method-detail">
510
- <a name="M000179"></a>
628
+ <div id="method-M000187" class="method-detail">
629
+ <a name="M000187"></a>
511
630
 
512
631
  <div class="method-heading">
513
632
  <span class="method-name">==</span><span class="method-args">(p1)</span>
@@ -515,16 +634,16 @@ ruby_xml_node_content_add(VALUE self, VALUE obj) {
515
634
 
516
635
  <div class="method-description">
517
636
  <p>
518
- Alias for <a href="Node.html#M000132">eql?</a>
637
+ Alias for <a href="Node.html#M000154">eql?</a>
519
638
  </p>
520
639
  </div>
521
640
  </div>
522
641
 
523
- <div id="method-M000099" class="method-detail">
524
- <a name="M000099"></a>
642
+ <div id="method-M000115" class="method-detail">
643
+ <a name="M000115"></a>
525
644
 
526
645
  <div class="method-heading">
527
- <a href="#M000099" class="method-signature">
646
+ <a href="#M000115" class="method-signature">
528
647
  <span class="method-name">node.property("name") &rarr; "string"<br />
529
648
  node["name"] &rarr; "string"<br />
530
649
  </span>
@@ -536,8 +655,8 @@ node["name"] &rarr; "string"<br />
536
655
  Obtain the named property.
537
656
  </p>
538
657
  <p><a class="source-toggle" href="#"
539
- onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
540
- <div class="method-source-code" id="M000099-source">
658
+ onclick="toggleCode('M000115-source');return false;">[Source]</a></p>
659
+ <div class="method-source-code" id="M000115-source">
541
660
  <pre>
542
661
  /*
543
662
  * call-seq:
@@ -554,11 +673,11 @@ ruby_xml_node_property_get(VALUE self, VALUE name) {
554
673
  </div>
555
674
  </div>
556
675
 
557
- <div id="method-M000100" class="method-detail">
558
- <a name="M000100"></a>
676
+ <div id="method-M000123" class="method-detail">
677
+ <a name="M000123"></a>
559
678
 
560
679
  <div class="method-heading">
561
- <a href="#M000100" class="method-signature">
680
+ <a href="#M000123" class="method-signature">
562
681
  <span class="method-name">node["name"] = "string"<br />
563
682
  </span>
564
683
  </a>
@@ -569,8 +688,8 @@ ruby_xml_node_property_get(VALUE self, VALUE name) {
569
688
  <a href="Node/Set.html">Set</a> the named property.
570
689
  </p>
571
690
  <p><a class="source-toggle" href="#"
572
- onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
573
- <div class="method-source-code" id="M000100-source">
691
+ onclick="toggleCode('M000123-source');return false;">[Source]</a></p>
692
+ <div class="method-source-code" id="M000123-source">
574
693
  <pre>
575
694
  /*
576
695
  * call-seq:
@@ -586,11 +705,11 @@ ruby_xml_node_property_set(VALUE self, VALUE name, VALUE value) {
586
705
  </div>
587
706
  </div>
588
707
 
589
- <div id="method-M000101" class="method-detail">
590
- <a name="M000101"></a>
708
+ <div id="method-M000129" class="method-detail">
709
+ <a name="M000129"></a>
591
710
 
592
711
  <div class="method-heading">
593
- <a href="#M000101" class="method-signature">
712
+ <a href="#M000129" class="method-signature">
594
713
  <span class="method-name">node.attribute? &rarr; (true|false)<br />
595
714
  </span>
596
715
  </a>
@@ -601,8 +720,8 @@ ruby_xml_node_property_set(VALUE self, VALUE name, VALUE value) {
601
720
  Determine whether this is an attribute node,
602
721
  </p>
603
722
  <p><a class="source-toggle" href="#"
604
- onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
605
- <div class="method-source-code" id="M000101-source">
723
+ onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
724
+ <div class="method-source-code" id="M000129-source">
606
725
  <pre>
607
726
  /*
608
727
  * call-seq:
@@ -618,11 +737,11 @@ ruby_xml_node_attribute_q(VALUE self) {
618
737
  </div>
619
738
  </div>
620
739
 
621
- <div id="method-M000102" class="method-detail">
622
- <a name="M000102"></a>
740
+ <div id="method-M000130" class="method-detail">
741
+ <a name="M000130"></a>
623
742
 
624
743
  <div class="method-heading">
625
- <a href="#M000102" class="method-signature">
744
+ <a href="#M000130" class="method-signature">
626
745
  <span class="method-name">node.attribute_decl? &rarr; (true|false)<br />
627
746
  </span>
628
747
  </a>
@@ -633,8 +752,8 @@ ruby_xml_node_attribute_q(VALUE self) {
633
752
  Determine whether this is an attribute declaration node,
634
753
  </p>
635
754
  <p><a class="source-toggle" href="#"
636
- onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
637
- <div class="method-source-code" id="M000102-source">
755
+ onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
756
+ <div class="method-source-code" id="M000130-source">
638
757
  <pre>
639
758
  /*
640
759
  * call-seq:
@@ -650,11 +769,11 @@ ruby_xml_node_attribute_decl_q(VALUE self) {
650
769
  </div>
651
770
  </div>
652
771
 
653
- <div id="method-M000103" class="method-detail">
654
- <a name="M000103"></a>
772
+ <div id="method-M000131" class="method-detail">
773
+ <a name="M000131"></a>
655
774
 
656
775
  <div class="method-heading">
657
- <a href="#M000103" class="method-signature">
776
+ <a href="#M000131" class="method-signature">
658
777
  <span class="method-name">node.attributes &rarr; attributes<br />
659
778
  </span>
660
779
  </a>
@@ -665,8 +784,8 @@ ruby_xml_node_attribute_decl_q(VALUE self) {
665
784
  Returns the <a href="Attributes.html">XML::Attributes</a> for this node.
666
785
  </p>
667
786
  <p><a class="source-toggle" href="#"
668
- onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
669
- <div class="method-source-code" id="M000103-source">
787
+ onclick="toggleCode('M000131-source');return false;">[Source]</a></p>
788
+ <div class="method-source-code" id="M000131-source">
670
789
  <pre>
671
790
  /*
672
791
  * call-seq:
@@ -682,11 +801,11 @@ ruby_xml_node_attributes_get(VALUE self) {
682
801
  </div>
683
802
  </div>
684
803
 
685
- <div id="method-M000104" class="method-detail">
686
- <a name="M000104"></a>
804
+ <div id="method-M000132" class="method-detail">
805
+ <a name="M000132"></a>
687
806
 
688
807
  <div class="method-heading">
689
- <a href="#M000104" class="method-signature">
808
+ <a href="#M000132" class="method-signature">
690
809
  <span class="method-name">node.attributes? &rarr; (true|false)<br />
691
810
  </span>
692
811
  </a>
@@ -697,8 +816,8 @@ ruby_xml_node_attributes_get(VALUE self) {
697
816
  Determine whether this node has properties (attributes).
698
817
  </p>
699
818
  <p><a class="source-toggle" href="#"
700
- onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
701
- <div class="method-source-code" id="M000104-source">
819
+ onclick="toggleCode('M000132-source');return false;">[Source]</a></p>
820
+ <div class="method-source-code" id="M000132-source">
702
821
  <pre>
703
822
  /*
704
823
  * call-seq:
@@ -715,11 +834,11 @@ ruby_xml_node_attributes_q(VALUE self) {
715
834
  </div>
716
835
  </div>
717
836
 
718
- <div id="method-M000105" class="method-detail">
719
- <a name="M000105"></a>
837
+ <div id="method-M000133" class="method-detail">
838
+ <a name="M000133"></a>
720
839
 
721
840
  <div class="method-heading">
722
- <a href="#M000105" class="method-signature">
841
+ <a href="#M000133" class="method-signature">
723
842
  <span class="method-name">node.base &rarr; "uri"<br />
724
843
  </span>
725
844
  </a>
@@ -730,8 +849,8 @@ ruby_xml_node_attributes_q(VALUE self) {
730
849
  Obtain this node&#8217;s base URI.
731
850
  </p>
732
851
  <p><a class="source-toggle" href="#"
733
- onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
734
- <div class="method-source-code" id="M000105-source">
852
+ onclick="toggleCode('M000133-source');return false;">[Source]</a></p>
853
+ <div class="method-source-code" id="M000133-source">
735
854
  <pre>
736
855
  /*
737
856
  * call-seq:
@@ -747,11 +866,11 @@ ruby_xml_node_base_get(VALUE self) {
747
866
  </div>
748
867
  </div>
749
868
 
750
- <div id="method-M000106" class="method-detail">
751
- <a name="M000106"></a>
869
+ <div id="method-M000134" class="method-detail">
870
+ <a name="M000134"></a>
752
871
 
753
872
  <div class="method-heading">
754
- <a href="#M000106" class="method-signature">
873
+ <a href="#M000134" class="method-signature">
755
874
  <span class="method-name">node.base = "uri"<br />
756
875
  </span>
757
876
  </a>
@@ -762,8 +881,8 @@ ruby_xml_node_base_get(VALUE self) {
762
881
  <a href="Node/Set.html">Set</a> this node&#8217;s base URI.
763
882
  </p>
764
883
  <p><a class="source-toggle" href="#"
765
- onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
766
- <div class="method-source-code" id="M000106-source">
884
+ onclick="toggleCode('M000134-source');return false;">[Source]</a></p>
885
+ <div class="method-source-code" id="M000134-source">
767
886
  <pre>
768
887
  /*
769
888
  * call-seq:
@@ -779,11 +898,11 @@ ruby_xml_node_base_set(VALUE self, VALUE uri) {
779
898
  </div>
780
899
  </div>
781
900
 
782
- <div id="method-M000107" class="method-detail">
783
- <a name="M000107"></a>
901
+ <div id="method-M000135" class="method-detail">
902
+ <a name="M000135"></a>
784
903
 
785
904
  <div class="method-heading">
786
- <a href="#M000107" class="method-signature">
905
+ <a href="#M000135" class="method-signature">
787
906
  <span class="method-name">node.empty? &rarr; (true|false)<br />
788
907
  </span>
789
908
  </a>
@@ -794,8 +913,8 @@ ruby_xml_node_base_set(VALUE self, VALUE uri) {
794
913
  Determine whether this node is empty.
795
914
  </p>
796
915
  <p><a class="source-toggle" href="#"
797
- onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
798
- <div class="method-source-code" id="M000107-source">
916
+ onclick="toggleCode('M000135-source');return false;">[Source]</a></p>
917
+ <div class="method-source-code" id="M000135-source">
799
918
  <pre>
800
919
  /*
801
920
  * call-seq:
@@ -811,11 +930,11 @@ ruby_xml_node_empty_q(VALUE self) {
811
930
  </div>
812
931
  </div>
813
932
 
814
- <div id="method-M000108" class="method-detail">
815
- <a name="M000108"></a>
933
+ <div id="method-M000136" class="method-detail">
934
+ <a name="M000136"></a>
816
935
 
817
936
  <div class="method-heading">
818
- <a href="#M000108" class="method-signature">
937
+ <a href="#M000136" class="method-signature">
819
938
  <span class="method-name">node.cdata? &rarr; (true|false)<br />
820
939
  </span>
821
940
  </a>
@@ -826,8 +945,8 @@ ruby_xml_node_empty_q(VALUE self) {
826
945
  Determine whether this is a CDATA node
827
946
  </p>
828
947
  <p><a class="source-toggle" href="#"
829
- onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
830
- <div class="method-source-code" id="M000108-source">
948
+ onclick="toggleCode('M000136-source');return false;">[Source]</a></p>
949
+ <div class="method-source-code" id="M000136-source">
831
950
  <pre>
832
951
  /*
833
952
  * call-seq:
@@ -843,43 +962,25 @@ ruby_xml_node_cdata_q(VALUE self) {
843
962
  </div>
844
963
  </div>
845
964
 
846
- <div id="method-M000111" class="method-detail">
847
- <a name="M000111"></a>
965
+ <div id="method-M000203" class="method-detail">
966
+ <a name="M000203"></a>
848
967
 
849
968
  <div class="method-heading">
850
- <a href="#M000111" class="method-signature">
851
- <span class="method-name">node.child &rarr; node<br />
852
- </span>
853
- </a>
969
+ <span class="method-name">child</span><span class="method-args">()</span>
854
970
  </div>
855
971
 
856
972
  <div class="method-description">
857
973
  <p>
858
- Obtain this node&#8217;s first child node, if any.
974
+ Alias for <a href="Node.html#M000117">first</a>
859
975
  </p>
860
- <p><a class="source-toggle" href="#"
861
- onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
862
- <div class="method-source-code" id="M000111-source">
863
- <pre>
864
- /*
865
- * call-seq:
866
- * node.child -&gt; node
867
- *
868
- * Obtain this node's first child node, if any.
869
- */
870
- VALUE
871
- ruby_xml_node_child_get(VALUE self) {
872
-
873
- </pre>
874
- </div>
875
976
  </div>
876
977
  </div>
877
978
 
878
- <div id="method-M000113" class="method-detail">
879
- <a name="M000113"></a>
979
+ <div id="method-M000125" class="method-detail">
980
+ <a name="M000125"></a>
880
981
 
881
982
  <div class="method-heading">
882
- <a href="#M000113" class="method-signature">
983
+ <a href="#M000125" class="method-signature">
883
984
  <span class="method-name">node.child = node<br />
884
985
  </span>
885
986
  </a>
@@ -891,8 +992,8 @@ ruby_xml_node_child_get(VALUE self) {
891
992
  &lt;&lt;
892
993
  </p>
893
994
  <p><a class="source-toggle" href="#"
894
- onclick="toggleCode('M000113-source');return false;">[Source]</a></p>
895
- <div class="method-source-code" id="M000113-source">
995
+ onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
996
+ <div class="method-source-code" id="M000125-source">
896
997
  <pre>
897
998
  /*
898
999
  * call-seq:
@@ -908,43 +1009,25 @@ ruby_xml_node_child_set(VALUE self, VALUE rnode) {
908
1009
  </div>
909
1010
  </div>
910
1011
 
911
- <div id="method-M000112" class="method-detail">
912
- <a name="M000112"></a>
1012
+ <div id="method-M000201" class="method-detail">
1013
+ <a name="M000201"></a>
913
1014
 
914
1015
  <div class="method-heading">
915
- <a href="#M000112" class="method-signature">
916
- <span class="method-name">node.child? &rarr; (true|false)<br />
917
- </span>
918
- </a>
1016
+ <span class="method-name">child?</span><span class="method-args">()</span>
919
1017
  </div>
920
1018
 
921
1019
  <div class="method-description">
922
1020
  <p>
923
- Determine whether this node has at least one child.
1021
+ Alias for <a href="Node.html#M000193">first?</a>
924
1022
  </p>
925
- <p><a class="source-toggle" href="#"
926
- onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
927
- <div class="method-source-code" id="M000112-source">
928
- <pre>
929
- /*
930
- * call-seq:
931
- * node.child? -&gt; (true|false)
932
- *
933
- * Determine whether this node has at least one child.
934
- */
935
- VALUE
936
- ruby_xml_node_child_q(VALUE self) {
937
-
938
- </pre>
939
- </div>
940
1023
  </div>
941
1024
  </div>
942
1025
 
943
- <div id="method-M000114" class="method-detail">
944
- <a name="M000114"></a>
1026
+ <div id="method-M000124" class="method-detail">
1027
+ <a name="M000124"></a>
945
1028
 
946
1029
  <div class="method-heading">
947
- <a href="#M000114" class="method-signature">
1030
+ <a href="#M000124" class="method-signature">
948
1031
  <span class="method-name">node.child_add(node)<br />
949
1032
  </span>
950
1033
  </a>
@@ -955,8 +1038,8 @@ ruby_xml_node_child_q(VALUE self) {
955
1038
  <a href="Node/Set.html">Set</a> a child node for this node.
956
1039
  </p>
957
1040
  <p><a class="source-toggle" href="#"
958
- onclick="toggleCode('M000114-source');return false;">[Source]</a></p>
959
- <div class="method-source-code" id="M000114-source">
1041
+ onclick="toggleCode('M000124-source');return false;">[Source]</a></p>
1042
+ <div class="method-source-code" id="M000124-source">
960
1043
  <pre>
961
1044
  /*
962
1045
  * call-seq:
@@ -972,98 +1055,74 @@ ruby_xml_node_child_add(VALUE self, VALUE rnode) {
972
1055
  </div>
973
1056
  </div>
974
1057
 
975
- <div id="method-M000115" class="method-detail">
976
- <a name="M000115"></a>
1058
+ <div id="method-M000194" class="method-detail">
1059
+ <a name="M000194"></a>
977
1060
 
978
1061
  <div class="method-heading">
979
- <a href="#M000115" class="method-signature">
980
- <span class="method-name">node.child &rarr; node<br />
981
- </span>
1062
+ <a href="#M000194" class="method-signature">
1063
+ <span class="method-name">children</span><span class="method-args">()</span>
982
1064
  </a>
983
1065
  </div>
984
1066
 
985
1067
  <div class="method-description">
986
1068
  <p>
987
- Obtain this node&#8217;s first child node, if any.
1069
+ Returns this node&#8217;s children as an array.
988
1070
  </p>
989
1071
  <p><a class="source-toggle" href="#"
990
- onclick="toggleCode('M000115-source');return false;">[Source]</a></p>
991
- <div class="method-source-code" id="M000115-source">
1072
+ onclick="toggleCode('M000194-source');return false;">[Source]</a></p>
1073
+ <div class="method-source-code" id="M000194-source">
992
1074
  <pre>
993
- /*
994
- * call-seq:
995
- * node.child -&gt; node
996
- *
997
- * Obtain this node's first child node, if any.
998
- */
999
- VALUE
1000
- ruby_xml_node_child_get(VALUE self) {
1001
-
1075
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 49</span>
1076
+ 49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">children</span>
1077
+ 50: <span class="ruby-identifier">entries</span>
1078
+ 51: <span class="ruby-keyword kw">end</span>
1002
1079
  </pre>
1003
1080
  </div>
1004
1081
  </div>
1005
1082
  </div>
1006
1083
 
1007
- <div id="method-M000116" class="method-detail">
1008
- <a name="M000116"></a>
1084
+ <div id="method-M000202" class="method-detail">
1085
+ <a name="M000202"></a>
1009
1086
 
1010
1087
  <div class="method-heading">
1011
- <a href="#M000116" class="method-signature">
1012
- <span class="method-name">node.child? &rarr; (true|false)<br />
1013
- </span>
1014
- </a>
1088
+ <span class="method-name">children?</span><span class="method-args">()</span>
1015
1089
  </div>
1016
1090
 
1017
1091
  <div class="method-description">
1018
1092
  <p>
1019
- Determine whether this node has at least one child.
1093
+ Alias for <a href="Node.html#M000193">first?</a>
1020
1094
  </p>
1021
- <p><a class="source-toggle" href="#"
1022
- onclick="toggleCode('M000116-source');return false;">[Source]</a></p>
1023
- <div class="method-source-code" id="M000116-source">
1024
- <pre>
1025
- /*
1026
- * call-seq:
1027
- * node.child? -&gt; (true|false)
1028
- *
1029
- * Determine whether this node has at least one child.
1030
- */
1031
- VALUE
1032
- ruby_xml_node_child_q(VALUE self) {
1033
-
1034
- </pre>
1035
- </div>
1036
1095
  </div>
1037
1096
  </div>
1038
1097
 
1039
- <div id="method-M000186" class="method-detail">
1040
- <a name="M000186"></a>
1098
+ <div id="method-M000200" class="method-detail">
1099
+ <a name="M000200"></a>
1041
1100
 
1042
1101
  <div class="method-heading">
1043
- <a href="#M000186" class="method-signature">
1102
+ <a href="#M000200" class="method-signature">
1044
1103
  <span class="method-name">clone</span><span class="method-args">()</span>
1045
1104
  </a>
1046
1105
  </div>
1047
1106
 
1048
1107
  <div class="method-description">
1049
1108
  <p><a class="source-toggle" href="#"
1050
- onclick="toggleCode('M000186-source');return false;">[Source]</a></p>
1051
- <div class="method-source-code" id="M000186-source">
1109
+ onclick="toggleCode('M000200-source');return false;">[Source]</a></p>
1110
+ <div class="method-source-code" id="M000200-source">
1052
1111
  <pre>
1053
- <span class="ruby-comment cmt"># File lib/libxml.rb, line 101</span>
1054
- 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clone</span>
1055
- 102: <span class="ruby-identifier">copy</span>(<span class="ruby-keyword kw">false</span>)
1056
- 103: <span class="ruby-keyword kw">end</span>
1112
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 122</span>
1113
+ 122: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clone</span>
1114
+ 123: <span class="ruby-identifier">copy</span>(<span class="ruby-keyword kw">false</span>)
1115
+ 124: <span class="ruby-keyword kw">end</span>
1057
1116
  </pre>
1058
1117
  </div>
1059
1118
  </div>
1060
1119
  </div>
1061
1120
 
1062
- <div id="method-M000109" class="method-detail">
1063
- <a name="M000109"></a>
1121
+ <div id="method-M000137" class="method-detail">
1122
+ <a name="M000137"></a>
1064
1123
 
1065
1124
  <div class="method-heading">
1066
- <a href="#M000109" class="method-signature">
1125
+ <a href="#M000137" class="method-signature">
1067
1126
  <span class="method-name">node.comment? &rarr; (true|false)<br />
1068
1127
  </span>
1069
1128
  </a>
@@ -1074,8 +1133,8 @@ ruby_xml_node_child_q(VALUE self) {
1074
1133
  Determine whether this is a comment node
1075
1134
  </p>
1076
1135
  <p><a class="source-toggle" href="#"
1077
- onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
1078
- <div class="method-source-code" id="M000109-source">
1136
+ onclick="toggleCode('M000137-source');return false;">[Source]</a></p>
1137
+ <div class="method-source-code" id="M000137-source">
1079
1138
  <pre>
1080
1139
  /*
1081
1140
  * call-seq:
@@ -1091,11 +1150,11 @@ ruby_xml_node_comment_q(VALUE self) {
1091
1150
  </div>
1092
1151
  </div>
1093
1152
 
1094
- <div id="method-M000117" class="method-detail">
1095
- <a name="M000117"></a>
1153
+ <div id="method-M000139" class="method-detail">
1154
+ <a name="M000139"></a>
1096
1155
 
1097
1156
  <div class="method-heading">
1098
- <a href="#M000117" class="method-signature">
1157
+ <a href="#M000139" class="method-signature">
1099
1158
  <span class="method-name">node.content &rarr; "string"<br />
1100
1159
  </span>
1101
1160
  </a>
@@ -1106,8 +1165,8 @@ ruby_xml_node_comment_q(VALUE self) {
1106
1165
  Obtain this node&#8217;s content as a string.
1107
1166
  </p>
1108
1167
  <p><a class="source-toggle" href="#"
1109
- onclick="toggleCode('M000117-source');return false;">[Source]</a></p>
1110
- <div class="method-source-code" id="M000117-source">
1168
+ onclick="toggleCode('M000139-source');return false;">[Source]</a></p>
1169
+ <div class="method-source-code" id="M000139-source">
1111
1170
  <pre>
1112
1171
  /*
1113
1172
  * call-seq:
@@ -1123,11 +1182,11 @@ ruby_xml_node_content_get(VALUE self) {
1123
1182
  </div>
1124
1183
  </div>
1125
1184
 
1126
- <div id="method-M000118" class="method-detail">
1127
- <a name="M000118"></a>
1185
+ <div id="method-M000140" class="method-detail">
1186
+ <a name="M000140"></a>
1128
1187
 
1129
1188
  <div class="method-heading">
1130
- <a href="#M000118" class="method-signature">
1189
+ <a href="#M000140" class="method-signature">
1131
1190
  <span class="method-name">node.content = "string"<br />
1132
1191
  </span>
1133
1192
  </a>
@@ -1139,8 +1198,8 @@ ruby_xml_node_content_get(VALUE self) {
1139
1198
  string.
1140
1199
  </p>
1141
1200
  <p><a class="source-toggle" href="#"
1142
- onclick="toggleCode('M000118-source');return false;">[Source]</a></p>
1143
- <div class="method-source-code" id="M000118-source">
1201
+ onclick="toggleCode('M000140-source');return false;">[Source]</a></p>
1202
+ <div class="method-source-code" id="M000140-source">
1144
1203
  <pre>
1145
1204
  /*
1146
1205
  * call-seq:
@@ -1156,11 +1215,11 @@ ruby_xml_node_content_set(VALUE self, VALUE content) {
1156
1215
  </div>
1157
1216
  </div>
1158
1217
 
1159
- <div id="method-M000119" class="method-detail">
1160
- <a name="M000119"></a>
1218
+ <div id="method-M000141" class="method-detail">
1219
+ <a name="M000141"></a>
1161
1220
 
1162
1221
  <div class="method-heading">
1163
- <a href="#M000119" class="method-signature">
1222
+ <a href="#M000141" class="method-signature">
1164
1223
  <span class="method-name">node.content_stripped &rarr; "string"<br />
1165
1224
  </span>
1166
1225
  </a>
@@ -1175,8 +1234,8 @@ Obtain this node&#8217;s stripped content.
1175
1234
  <tt>content</tt> method.
1176
1235
  </p>
1177
1236
  <p><a class="source-toggle" href="#"
1178
- onclick="toggleCode('M000119-source');return false;">[Source]</a></p>
1179
- <div class="method-source-code" id="M000119-source">
1237
+ onclick="toggleCode('M000141-source');return false;">[Source]</a></p>
1238
+ <div class="method-source-code" id="M000141-source">
1180
1239
  <pre>
1181
1240
  /*
1182
1241
  * call-seq:
@@ -1195,29 +1254,34 @@ ruby_xml_node_content_stripped_get(VALUE self) {
1195
1254
  </div>
1196
1255
  </div>
1197
1256
 
1198
- <div id="method-M000110" class="method-detail">
1199
- <a name="M000110"></a>
1257
+ <div id="method-M000138" class="method-detail">
1258
+ <a name="M000138"></a>
1200
1259
 
1201
1260
  <div class="method-heading">
1202
- <a href="#M000110" class="method-signature">
1203
- <span class="method-name">node.copy &rarr; node<br />
1261
+ <a href="#M000138" class="method-signature">
1262
+ <span class="method-name">node.copy &rarr; XML::Node<br />
1204
1263
  </span>
1205
1264
  </a>
1206
1265
  </div>
1207
1266
 
1208
1267
  <div class="method-description">
1209
1268
  <p>
1210
- Create a copy of this node.
1269
+ Creates a copy of this node. To create a shallow copy set the deep
1270
+ parameter to false. To create a deep copy set the deep parameter to true.
1211
1271
  </p>
1212
1272
  <p><a class="source-toggle" href="#"
1213
- onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
1214
- <div class="method-source-code" id="M000110-source">
1273
+ onclick="toggleCode('M000138-source');return false;">[Source]</a></p>
1274
+ <div class="method-source-code" id="M000138-source">
1215
1275
  <pre>
1216
1276
  /*
1217
1277
  * call-seq:
1218
- * node.copy -&gt; node
1278
+ * node.copy -&gt; XML::Node
1219
1279
  *
1220
- * Create a copy of this node.
1280
+ * Creates a copy of this node. To create a
1281
+ * shallow copy set the deep parameter to false.
1282
+ * To create a deep copy set the deep parameter
1283
+ * to true.
1284
+ *
1221
1285
  */
1222
1286
  VALUE
1223
1287
  ruby_xml_node_copy(VALUE self, VALUE deep) {
@@ -1227,11 +1291,11 @@ ruby_xml_node_copy(VALUE self, VALUE deep) {
1227
1291
  </div>
1228
1292
  </div>
1229
1293
 
1230
- <div id="method-M000126" class="method-detail">
1231
- <a name="M000126"></a>
1294
+ <div id="method-M000148" class="method-detail">
1295
+ <a name="M000148"></a>
1232
1296
 
1233
1297
  <div class="method-heading">
1234
- <a href="#M000126" class="method-signature">
1298
+ <a href="#M000148" class="method-signature">
1235
1299
  <span class="method-name">node.debug_dump &rarr; (true|nil)<br />
1236
1300
  </span>
1237
1301
  </a>
@@ -1242,8 +1306,8 @@ ruby_xml_node_copy(VALUE self, VALUE deep) {
1242
1306
  Dump this node to stdout, including any debugging information.
1243
1307
  </p>
1244
1308
  <p><a class="source-toggle" href="#"
1245
- onclick="toggleCode('M000126-source');return false;">[Source]</a></p>
1246
- <div class="method-source-code" id="M000126-source">
1309
+ onclick="toggleCode('M000148-source');return false;">[Source]</a></p>
1310
+ <div class="method-source-code" id="M000148-source">
1247
1311
  <pre>
1248
1312
  /*
1249
1313
  * call-seq:
@@ -1260,11 +1324,11 @@ ruby_xml_node_debug_dump(VALUE self) {
1260
1324
  </div>
1261
1325
  </div>
1262
1326
 
1263
- <div id="method-M000120" class="method-detail">
1264
- <a name="M000120"></a>
1327
+ <div id="method-M000142" class="method-detail">
1328
+ <a name="M000142"></a>
1265
1329
 
1266
1330
  <div class="method-heading">
1267
- <a href="#M000120" class="method-signature">
1331
+ <a href="#M000142" class="method-signature">
1268
1332
  <span class="method-name">node.doc &rarr; document<br />
1269
1333
  </span>
1270
1334
  </a>
@@ -1275,8 +1339,8 @@ ruby_xml_node_debug_dump(VALUE self) {
1275
1339
  Obtain the <a href="Document.html">XML::Document</a> this node belongs to.
1276
1340
  </p>
1277
1341
  <p><a class="source-toggle" href="#"
1278
- onclick="toggleCode('M000120-source');return false;">[Source]</a></p>
1279
- <div class="method-source-code" id="M000120-source">
1342
+ onclick="toggleCode('M000142-source');return false;">[Source]</a></p>
1343
+ <div class="method-source-code" id="M000142-source">
1280
1344
  <pre>
1281
1345
  /*
1282
1346
  * call-seq:
@@ -1292,11 +1356,11 @@ ruby_xml_node_doc(VALUE self) {
1292
1356
  </div>
1293
1357
  </div>
1294
1358
 
1295
- <div id="method-M000121" class="method-detail">
1296
- <a name="M000121"></a>
1359
+ <div id="method-M000143" class="method-detail">
1360
+ <a name="M000143"></a>
1297
1361
 
1298
1362
  <div class="method-heading">
1299
- <a href="#M000121" class="method-signature">
1363
+ <a href="#M000143" class="method-signature">
1300
1364
  <span class="method-name">node.docbook? &rarr; (true|false)<br />
1301
1365
  </span>
1302
1366
  </a>
@@ -1307,8 +1371,8 @@ ruby_xml_node_doc(VALUE self) {
1307
1371
  Determine whether this is a docbook node.
1308
1372
  </p>
1309
1373
  <p><a class="source-toggle" href="#"
1310
- onclick="toggleCode('M000121-source');return false;">[Source]</a></p>
1311
- <div class="method-source-code" id="M000121-source">
1374
+ onclick="toggleCode('M000143-source');return false;">[Source]</a></p>
1375
+ <div class="method-source-code" id="M000143-source">
1312
1376
  <pre>
1313
1377
  /*
1314
1378
  * call-seq:
@@ -1324,11 +1388,11 @@ ruby_xml_node_docbook_doc_q(VALUE self) {
1324
1388
  </div>
1325
1389
  </div>
1326
1390
 
1327
- <div id="method-M000122" class="method-detail">
1328
- <a name="M000122"></a>
1391
+ <div id="method-M000144" class="method-detail">
1392
+ <a name="M000144"></a>
1329
1393
 
1330
1394
  <div class="method-heading">
1331
- <a href="#M000122" class="method-signature">
1395
+ <a href="#M000144" class="method-signature">
1332
1396
  <span class="method-name">node.doctype? &rarr; (true|false)<br />
1333
1397
  </span>
1334
1398
  </a>
@@ -1339,8 +1403,8 @@ ruby_xml_node_docbook_doc_q(VALUE self) {
1339
1403
  Determine whether this is a DOCTYPE node.
1340
1404
  </p>
1341
1405
  <p><a class="source-toggle" href="#"
1342
- onclick="toggleCode('M000122-source');return false;">[Source]</a></p>
1343
- <div class="method-source-code" id="M000122-source">
1406
+ onclick="toggleCode('M000144-source');return false;">[Source]</a></p>
1407
+ <div class="method-source-code" id="M000144-source">
1344
1408
  <pre>
1345
1409
  /*
1346
1410
  * call-seq:
@@ -1356,11 +1420,11 @@ ruby_xml_node_doctype_q(VALUE self) {
1356
1420
  </div>
1357
1421
  </div>
1358
1422
 
1359
- <div id="method-M000123" class="method-detail">
1360
- <a name="M000123"></a>
1423
+ <div id="method-M000145" class="method-detail">
1424
+ <a name="M000145"></a>
1361
1425
 
1362
1426
  <div class="method-heading">
1363
- <a href="#M000123" class="method-signature">
1427
+ <a href="#M000145" class="method-signature">
1364
1428
  <span class="method-name">node.document? &rarr; (true|false)<br />
1365
1429
  </span>
1366
1430
  </a>
@@ -1371,8 +1435,8 @@ ruby_xml_node_doctype_q(VALUE self) {
1371
1435
  Determine whether this is a document node.
1372
1436
  </p>
1373
1437
  <p><a class="source-toggle" href="#"
1374
- onclick="toggleCode('M000123-source');return false;">[Source]</a></p>
1375
- <div class="method-source-code" id="M000123-source">
1438
+ onclick="toggleCode('M000145-source');return false;">[Source]</a></p>
1439
+ <div class="method-source-code" id="M000145-source">
1376
1440
  <pre>
1377
1441
  /*
1378
1442
  * call-seq:
@@ -1388,11 +1452,11 @@ ruby_xml_node_document_q(VALUE self) {
1388
1452
  </div>
1389
1453
  </div>
1390
1454
 
1391
- <div id="method-M000124" class="method-detail">
1392
- <a name="M000124"></a>
1455
+ <div id="method-M000146" class="method-detail">
1456
+ <a name="M000146"></a>
1393
1457
 
1394
1458
  <div class="method-heading">
1395
- <a href="#M000124" class="method-signature">
1459
+ <a href="#M000146" class="method-signature">
1396
1460
  <span class="method-name">node.dtd? &rarr; (true|false)<br />
1397
1461
  </span>
1398
1462
  </a>
@@ -1403,8 +1467,8 @@ ruby_xml_node_document_q(VALUE self) {
1403
1467
  Determine whether this is a DTD node.
1404
1468
  </p>
1405
1469
  <p><a class="source-toggle" href="#"
1406
- onclick="toggleCode('M000124-source');return false;">[Source]</a></p>
1407
- <div class="method-source-code" id="M000124-source">
1470
+ onclick="toggleCode('M000146-source');return false;">[Source]</a></p>
1471
+ <div class="method-source-code" id="M000146-source">
1408
1472
  <pre>
1409
1473
  /*
1410
1474
  * call-seq:
@@ -1420,11 +1484,11 @@ ruby_xml_node_dtd_q(VALUE self) {
1420
1484
  </div>
1421
1485
  </div>
1422
1486
 
1423
- <div id="method-M000125" class="method-detail">
1424
- <a name="M000125"></a>
1487
+ <div id="method-M000147" class="method-detail">
1488
+ <a name="M000147"></a>
1425
1489
 
1426
1490
  <div class="method-heading">
1427
- <a href="#M000125" class="method-signature">
1491
+ <a href="#M000147" class="method-signature">
1428
1492
  <span class="method-name">node.dump &rarr; (true|nil)<br />
1429
1493
  </span>
1430
1494
  </a>
@@ -1435,8 +1499,8 @@ ruby_xml_node_dtd_q(VALUE self) {
1435
1499
  Dump this node to stdout.
1436
1500
  </p>
1437
1501
  <p><a class="source-toggle" href="#"
1438
- onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
1439
- <div class="method-source-code" id="M000125-source">
1502
+ onclick="toggleCode('M000147-source');return false;">[Source]</a></p>
1503
+ <div class="method-source-code" id="M000147-source">
1440
1504
  <pre>
1441
1505
  /*
1442
1506
  * call-seq:
@@ -1452,100 +1516,116 @@ ruby_xml_node_dump(VALUE self) {
1452
1516
  </div>
1453
1517
  </div>
1454
1518
 
1455
- <div id="method-M000184" class="method-detail">
1456
- <a name="M000184"></a>
1519
+ <div id="method-M000199" class="method-detail">
1520
+ <a name="M000199"></a>
1457
1521
 
1458
1522
  <div class="method-heading">
1459
- <span class="method-name">each</span><span class="method-args">(&amp;blk)</span>
1523
+ <a href="#M000199" class="method-signature">
1524
+ <span class="method-name">dup</span><span class="method-args">()</span>
1525
+ </a>
1460
1526
  </div>
1461
1527
 
1462
1528
  <div class="method-description">
1463
- <p>
1464
- Alias for <a href="Node.html#M000181">each_child</a>
1465
- </p>
1529
+ <p><a class="source-toggle" href="#"
1530
+ onclick="toggleCode('M000199-source');return false;">[Source]</a></p>
1531
+ <div class="method-source-code" id="M000199-source">
1532
+ <pre>
1533
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 118</span>
1534
+ 118: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dup</span>
1535
+ 119: <span class="ruby-identifier">copy</span>(<span class="ruby-keyword kw">false</span>)
1536
+ 120: <span class="ruby-keyword kw">end</span>
1537
+ </pre>
1538
+ </div>
1466
1539
  </div>
1467
1540
  </div>
1468
1541
 
1469
- <div id="method-M000182" class="method-detail">
1470
- <a name="M000182"></a>
1542
+ <div id="method-M000116" class="method-detail">
1543
+ <a name="M000116"></a>
1471
1544
 
1472
1545
  <div class="method-heading">
1473
- <a href="#M000182" class="method-signature">
1474
- <span class="method-name">each_attr</span><span class="method-args">(&amp;blk)</span>
1546
+ <a href="#M000116" class="method-signature">
1547
+ <span class="method-name">node.each &rarr; XML::Node<br />
1548
+ </span>
1475
1549
  </a>
1476
1550
  </div>
1477
1551
 
1478
1552
  <div class="method-description">
1553
+ <p>
1554
+ Iterates over all of this node&#8217;s children, including text nodes,
1555
+ element nodes, etc. If you wish to iterate only over child elements, use <a
1556
+ href="Node.html#M000191">XML::Node#each_element</a>.
1557
+ </p>
1558
+ <pre>
1559
+ doc = XML::Document.new('model/books.xml')
1560
+ doc.root.each {|node| puts node}
1561
+ </pre>
1479
1562
  <p><a class="source-toggle" href="#"
1480
- onclick="toggleCode('M000182-source');return false;">[Source]</a></p>
1481
- <div class="method-source-code" id="M000182-source">
1563
+ onclick="toggleCode('M000116-source');return false;">[Source]</a></p>
1564
+ <div class="method-source-code" id="M000116-source">
1482
1565
  <pre>
1483
- <span class="ruby-comment cmt"># File lib/libxml.rb, line 82</span>
1484
- 82: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_attr</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
1485
- 83: <span class="ruby-identifier">siblings</span>(<span class="ruby-identifier">properties</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
1486
- 84: <span class="ruby-keyword kw">end</span>
1566
+ /*
1567
+ * call-seq:
1568
+ * node.each -&gt; XML::Node
1569
+ *
1570
+ * Iterates over all of this node's children, including text
1571
+ * nodes, element nodes, etc. If you wish to iterate
1572
+ * only over child elements, use XML::Node#each_element.
1573
+ *
1574
+ * doc = XML::Document.new('model/books.xml')
1575
+ * doc.root.each {|node| puts node}
1576
+ */
1577
+ VALUE
1578
+ ruby_xml_node_each(VALUE self) {
1579
+
1487
1580
  </pre>
1488
1581
  </div>
1489
1582
  </div>
1490
1583
  </div>
1491
1584
 
1492
- <div id="method-M000181" class="method-detail">
1493
- <a name="M000181"></a>
1585
+ <div id="method-M000204" class="method-detail">
1586
+ <a name="M000204"></a>
1494
1587
 
1495
1588
  <div class="method-heading">
1496
- <a href="#M000181" class="method-signature">
1497
- <span class="method-name">each_child</span><span class="method-args">(&amp;blk)</span>
1498
- </a>
1589
+ <span class="method-name">each_child</span><span class="method-args">()</span>
1499
1590
  </div>
1500
1591
 
1501
1592
  <div class="method-description">
1502
1593
  <p>
1503
- maybe these don&#8217;t belong on all nodes&#8230;
1594
+ Alias for <a href="Node.html#M000116">each</a>
1504
1595
  </p>
1505
- <p><a class="source-toggle" href="#"
1506
- onclick="toggleCode('M000181-source');return false;">[Source]</a></p>
1507
- <div class="method-source-code" id="M000181-source">
1508
- <pre>
1509
- <span class="ruby-comment cmt"># File lib/libxml.rb, line 78</span>
1510
- 78: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_child</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
1511
- 79: <span class="ruby-identifier">siblings</span>(<span class="ruby-identifier">child</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
1512
- 80: <span class="ruby-keyword kw">end</span>
1513
- </pre>
1514
- </div>
1515
1596
  </div>
1516
1597
  </div>
1517
1598
 
1518
- <div id="method-M000183" class="method-detail">
1519
- <a name="M000183"></a>
1599
+ <div id="method-M000191" class="method-detail">
1600
+ <a name="M000191"></a>
1520
1601
 
1521
1602
  <div class="method-heading">
1522
- <a href="#M000183" class="method-signature">
1523
- <span class="method-name">each_sibling</span><span class="method-args">(&amp;blk)</span>
1603
+ <a href="#M000191" class="method-signature">
1604
+ <span class="method-name">each_element</span><span class="method-args">() {|node| ...}</span>
1524
1605
  </a>
1525
1606
  </div>
1526
1607
 
1527
1608
  <div class="method-description">
1528
- <p>
1529
- all siblings INCLUDING self
1530
- </p>
1531
1609
  <p><a class="source-toggle" href="#"
1532
- onclick="toggleCode('M000183-source');return false;">[Source]</a></p>
1533
- <div class="method-source-code" id="M000183-source">
1610
+ onclick="toggleCode('M000191-source');return false;">[Source]</a></p>
1611
+ <div class="method-source-code" id="M000191-source">
1534
1612
  <pre>
1535
- <span class="ruby-comment cmt"># File lib/libxml.rb, line 87</span>
1536
- 87: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_sibling</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
1537
- 88: <span class="ruby-identifier">siblings</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
1538
- 89: <span class="ruby-keyword kw">end</span>
1613
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 32</span>
1614
+ 32: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_element</span>
1615
+ 33: <span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">node</span><span class="ruby-operator">|</span>
1616
+ 34: <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">node</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">node_type</span> <span class="ruby-operator">==</span> <span class="ruby-constant">ELEMENT_NODE</span>
1617
+ 35: <span class="ruby-keyword kw">end</span>
1618
+ 36: <span class="ruby-keyword kw">end</span>
1539
1619
  </pre>
1540
1620
  </div>
1541
1621
  </div>
1542
1622
  </div>
1543
1623
 
1544
- <div id="method-M000127" class="method-detail">
1545
- <a name="M000127"></a>
1624
+ <div id="method-M000149" class="method-detail">
1625
+ <a name="M000149"></a>
1546
1626
 
1547
1627
  <div class="method-heading">
1548
- <a href="#M000127" class="method-signature">
1628
+ <a href="#M000149" class="method-signature">
1549
1629
  <span class="method-name">node.element? &rarr; (true|false)<br />
1550
1630
  </span>
1551
1631
  </a>
@@ -1556,8 +1636,8 @@ all siblings INCLUDING self
1556
1636
  Determine whether this is an element node.
1557
1637
  </p>
1558
1638
  <p><a class="source-toggle" href="#"
1559
- onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
1560
- <div class="method-source-code" id="M000127-source">
1639
+ onclick="toggleCode('M000149-source');return false;">[Source]</a></p>
1640
+ <div class="method-source-code" id="M000149-source">
1561
1641
  <pre>
1562
1642
  /*
1563
1643
  * call-seq:
@@ -1573,11 +1653,11 @@ ruby_xml_node_element_q(VALUE self) {
1573
1653
  </div>
1574
1654
  </div>
1575
1655
 
1576
- <div id="method-M000128" class="method-detail">
1577
- <a name="M000128"></a>
1656
+ <div id="method-M000150" class="method-detail">
1657
+ <a name="M000150"></a>
1578
1658
 
1579
1659
  <div class="method-heading">
1580
- <a href="#M000128" class="method-signature">
1660
+ <a href="#M000150" class="method-signature">
1581
1661
  <span class="method-name">node.element_decl? &rarr; (true|false)<br />
1582
1662
  </span>
1583
1663
  </a>
@@ -1588,8 +1668,8 @@ ruby_xml_node_element_q(VALUE self) {
1588
1668
  Determine whether this is an element declaration node.
1589
1669
  </p>
1590
1670
  <p><a class="source-toggle" href="#"
1591
- onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
1592
- <div class="method-source-code" id="M000128-source">
1671
+ onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
1672
+ <div class="method-source-code" id="M000150-source">
1593
1673
  <pre>
1594
1674
  /*
1595
1675
  * call-seq:
@@ -1605,11 +1685,11 @@ ruby_xml_node_element_decl_q(VALUE self) {
1605
1685
  </div>
1606
1686
  </div>
1607
1687
 
1608
- <div id="method-M000129" class="method-detail">
1609
- <a name="M000129"></a>
1688
+ <div id="method-M000151" class="method-detail">
1689
+ <a name="M000151"></a>
1610
1690
 
1611
1691
  <div class="method-heading">
1612
- <a href="#M000129" class="method-signature">
1692
+ <a href="#M000151" class="method-signature">
1613
1693
  <span class="method-name">node.empty? &rarr; (true|false)<br />
1614
1694
  </span>
1615
1695
  </a>
@@ -1620,8 +1700,8 @@ ruby_xml_node_element_decl_q(VALUE self) {
1620
1700
  Determine whether this node is empty.
1621
1701
  </p>
1622
1702
  <p><a class="source-toggle" href="#"
1623
- onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
1624
- <div class="method-source-code" id="M000129-source">
1703
+ onclick="toggleCode('M000151-source');return false;">[Source]</a></p>
1704
+ <div class="method-source-code" id="M000151-source">
1625
1705
  <pre>
1626
1706
  /*
1627
1707
  * call-seq:
@@ -1637,11 +1717,11 @@ ruby_xml_node_empty_q(VALUE self) {
1637
1717
  </div>
1638
1718
  </div>
1639
1719
 
1640
- <div id="method-M000130" class="method-detail">
1641
- <a name="M000130"></a>
1720
+ <div id="method-M000152" class="method-detail">
1721
+ <a name="M000152"></a>
1642
1722
 
1643
1723
  <div class="method-heading">
1644
- <a href="#M000130" class="method-signature">
1724
+ <a href="#M000152" class="method-signature">
1645
1725
  <span class="method-name">node.entity? &rarr; (true|false)<br />
1646
1726
  </span>
1647
1727
  </a>
@@ -1652,8 +1732,8 @@ ruby_xml_node_empty_q(VALUE self) {
1652
1732
  Determine whether this is an entity node.
1653
1733
  </p>
1654
1734
  <p><a class="source-toggle" href="#"
1655
- onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
1656
- <div class="method-source-code" id="M000130-source">
1735
+ onclick="toggleCode('M000152-source');return false;">[Source]</a></p>
1736
+ <div class="method-source-code" id="M000152-source">
1657
1737
  <pre>
1658
1738
  /*
1659
1739
  * call-seq:
@@ -1669,11 +1749,11 @@ ruby_xml_node_entity_q(VALUE self) {
1669
1749
  </div>
1670
1750
  </div>
1671
1751
 
1672
- <div id="method-M000131" class="method-detail">
1673
- <a name="M000131"></a>
1752
+ <div id="method-M000153" class="method-detail">
1753
+ <a name="M000153"></a>
1674
1754
 
1675
1755
  <div class="method-heading">
1676
- <a href="#M000131" class="method-signature">
1756
+ <a href="#M000153" class="method-signature">
1677
1757
  <span class="method-name">node.entity_ref? &rarr; (true|false)<br />
1678
1758
  </span>
1679
1759
  </a>
@@ -1684,8 +1764,8 @@ ruby_xml_node_entity_q(VALUE self) {
1684
1764
  Determine whether this is an entity reference node.
1685
1765
  </p>
1686
1766
  <p><a class="source-toggle" href="#"
1687
- onclick="toggleCode('M000131-source');return false;">[Source]</a></p>
1688
- <div class="method-source-code" id="M000131-source">
1767
+ onclick="toggleCode('M000153-source');return false;">[Source]</a></p>
1768
+ <div class="method-source-code" id="M000153-source">
1689
1769
  <pre>
1690
1770
  /*
1691
1771
  * call-seq:
@@ -1701,11 +1781,11 @@ ruby_xml_node_entity_ref_q(VALUE self) {
1701
1781
  </div>
1702
1782
  </div>
1703
1783
 
1704
- <div id="method-M000132" class="method-detail">
1705
- <a name="M000132"></a>
1784
+ <div id="method-M000154" class="method-detail">
1785
+ <a name="M000154"></a>
1706
1786
 
1707
1787
  <div class="method-heading">
1708
- <a href="#M000132" class="method-signature">
1788
+ <a href="#M000154" class="method-signature">
1709
1789
  <span class="method-name">node.eql?(other_node) => (true|false)<br />
1710
1790
  </span>
1711
1791
  </a>
@@ -1717,8 +1797,8 @@ Test equality between the two nodes. Two nodes are equal if they are the
1717
1797
  same node or have the same <a href="../XML.html">XML</a> representation.
1718
1798
  </p>
1719
1799
  <p><a class="source-toggle" href="#"
1720
- onclick="toggleCode('M000132-source');return false;">[Source]</a></p>
1721
- <div class="method-source-code" id="M000132-source">
1800
+ onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
1801
+ <div class="method-source-code" id="M000154-source">
1722
1802
  <pre>
1723
1803
  /*
1724
1804
  * call-seq:
@@ -1734,81 +1814,136 @@ ruby_xml_node_eql_q(VALUE self, VALUE other) {
1734
1814
  </div>
1735
1815
  </div>
1736
1816
 
1737
- <div id="method-M000133" class="method-detail">
1738
- <a name="M000133"></a>
1817
+ <div id="method-M000189" class="method-detail">
1818
+ <a name="M000189"></a>
1739
1819
 
1740
1820
  <div class="method-heading">
1741
- <a href="#M000133" class="method-signature">
1742
- <span class="method-name">node.find(xpath_expr, namespace = [any]) &rarr; nodeset<br />
1743
- </span>
1821
+ <a href="#M000189" class="method-signature">
1822
+ <span class="method-name">find</span><span class="method-args">(xpath, nslist = nil)</span>
1744
1823
  </a>
1745
1824
  </div>
1746
1825
 
1747
1826
  <div class="method-description">
1748
1827
  <p>
1749
- Find nodes matching the specified xpath expression, optionally using the
1750
- specified namespaces. Returns an <a
1751
- href="Node/Set.html">XML::Node::Set</a>.
1828
+ Return nodes matching the specified xpath expression. For more information,
1829
+ please refer to the documentation for <a
1830
+ href="Document.html#M000355">XML::Document#find</a>.
1752
1831
  </p>
1753
1832
  <p><a class="source-toggle" href="#"
1754
- onclick="toggleCode('M000133-source');return false;">[Source]</a></p>
1755
- <div class="method-source-code" id="M000133-source">
1833
+ onclick="toggleCode('M000189-source');return false;">[Source]</a></p>
1834
+ <div class="method-source-code" id="M000189-source">
1756
1835
  <pre>
1757
- /*
1758
- * call-seq:
1759
- * node.find(xpath_expr, namespace = [any]) -&gt; nodeset
1760
- *
1761
- * Find nodes matching the specified xpath expression, optionally
1762
- * using the specified namespaces. Returns an XML::Node::Set.
1763
- */
1764
- VALUE
1765
- ruby_xml_node_find(int argc, VALUE *argv, VALUE self) {
1836
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 10</span>
1837
+ 10: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find</span>(<span class="ruby-identifier">xpath</span>, <span class="ruby-identifier">nslist</span> = <span class="ruby-keyword kw">nil</span>)
1838
+ 11: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">doc</span>
1839
+ 12: <span class="ruby-identifier">raise</span>(<span class="ruby-constant">TypeError</span>, <span class="ruby-value str">&quot;A node must belong to a document before &quot;</span> <span class="ruby-operator">+</span>
1840
+ 13: <span class="ruby-value str">&quot;it can be searched with XPath.&quot;</span>)
1841
+ 14: <span class="ruby-keyword kw">end</span>
1842
+ 15:
1843
+ 16: <span class="ruby-identifier">context</span> = <span class="ruby-constant">XPath</span><span class="ruby-operator">::</span><span class="ruby-constant">Context</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
1844
+ 17: <span class="ruby-identifier">context</span>.<span class="ruby-identifier">node</span> = <span class="ruby-keyword kw">self</span>
1845
+ 18: <span class="ruby-identifier">context</span>.<span class="ruby-identifier">register_namespaces_from_node</span>(<span class="ruby-keyword kw">self</span>)
1846
+ 19: <span class="ruby-identifier">context</span>.<span class="ruby-identifier">register_namespaces_from_node</span>(<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">doc</span>.<span class="ruby-identifier">root</span>)
1847
+ 20: <span class="ruby-identifier">context</span>.<span class="ruby-identifier">register_namespaces</span>(<span class="ruby-identifier">nslist</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">nslist</span>
1848
+ 21:
1849
+ 22: <span class="ruby-identifier">context</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">xpath</span>)
1850
+ 23: <span class="ruby-keyword kw">end</span>
1851
+ </pre>
1852
+ </div>
1853
+ </div>
1854
+ </div>
1855
+
1856
+ <div id="method-M000190" class="method-detail">
1857
+ <a name="M000190"></a>
1766
1858
 
1859
+ <div class="method-heading">
1860
+ <a href="#M000190" class="method-signature">
1861
+ <span class="method-name">find_first</span><span class="method-args">(xpath, nslist = nil)</span>
1862
+ </a>
1863
+ </div>
1864
+
1865
+ <div class="method-description">
1866
+ <p>
1867
+ Return the first node matching the specified xpath expression. For more
1868
+ information, please refer to the documentation for <a
1869
+ href="Node.html#M000189">XML::Node#find</a>.
1870
+ </p>
1871
+ <p><a class="source-toggle" href="#"
1872
+ onclick="toggleCode('M000190-source');return false;">[Source]</a></p>
1873
+ <div class="method-source-code" id="M000190-source">
1874
+ <pre>
1875
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 28</span>
1876
+ 28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_first</span>(<span class="ruby-identifier">xpath</span>, <span class="ruby-identifier">nslist</span> = <span class="ruby-keyword kw">nil</span>)
1877
+ 29: <span class="ruby-identifier">find</span>(<span class="ruby-identifier">xpath</span>, <span class="ruby-identifier">nslist</span>).<span class="ruby-identifier">first</span>
1878
+ 30: <span class="ruby-keyword kw">end</span>
1767
1879
  </pre>
1768
1880
  </div>
1769
1881
  </div>
1770
1882
  </div>
1771
1883
 
1772
- <div id="method-M000134" class="method-detail">
1773
- <a name="M000134"></a>
1884
+ <div id="method-M000117" class="method-detail">
1885
+ <a name="M000117"></a>
1774
1886
 
1775
1887
  <div class="method-heading">
1776
- <a href="#M000134" class="method-signature">
1777
- <span class="method-name">node.find_first(xpath_expr, namespace = [any]) &rarr; nodeset<br />
1888
+ <a href="#M000117" class="method-signature">
1889
+ <span class="method-name">node.first &rarr; XML::Node<br />
1778
1890
  </span>
1779
1891
  </a>
1780
1892
  </div>
1781
1893
 
1782
1894
  <div class="method-description">
1783
1895
  <p>
1784
- Find the first node matching the specified xpath expression, optionally
1785
- using the specified namespaces. Returns an <a
1786
- href="Node.html">XML::Node</a>.
1896
+ Returns this node&#8217;s first child node if any.
1787
1897
  </p>
1788
1898
  <p><a class="source-toggle" href="#"
1789
- onclick="toggleCode('M000134-source');return false;">[Source]</a></p>
1790
- <div class="method-source-code" id="M000134-source">
1899
+ onclick="toggleCode('M000117-source');return false;">[Source]</a></p>
1900
+ <div class="method-source-code" id="M000117-source">
1791
1901
  <pre>
1792
1902
  /*
1793
1903
  * call-seq:
1794
- * node.find_first(xpath_expr, namespace = [any]) -&gt; nodeset
1795
- *
1796
- * Find the first node matching the specified xpath expression, optionally
1797
- * using the specified namespaces. Returns an XML::Node.
1904
+ * node.first -&gt; XML::Node
1905
+ *
1906
+ * Returns this node's first child node if any.
1798
1907
  */
1799
1908
  VALUE
1800
- ruby_xml_node_find_first(int argc, VALUE *argv, VALUE self) {
1909
+ ruby_xml_node_first_get(VALUE self) {
1801
1910
 
1802
1911
  </pre>
1803
1912
  </div>
1804
1913
  </div>
1805
1914
  </div>
1806
1915
 
1807
- <div id="method-M000135" class="method-detail">
1808
- <a name="M000135"></a>
1916
+ <div id="method-M000193" class="method-detail">
1917
+ <a name="M000193"></a>
1809
1918
 
1810
1919
  <div class="method-heading">
1811
- <a href="#M000135" class="method-signature">
1920
+ <a href="#M000193" class="method-signature">
1921
+ <span class="method-name">first?</span><span class="method-args">()</span>
1922
+ </a>
1923
+ </div>
1924
+
1925
+ <div class="method-description">
1926
+ <p>
1927
+ Determines whether this node has a first node
1928
+ </p>
1929
+ <p><a class="source-toggle" href="#"
1930
+ onclick="toggleCode('M000193-source');return false;">[Source]</a></p>
1931
+ <div class="method-source-code" id="M000193-source">
1932
+ <pre>
1933
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 44</span>
1934
+ 44: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">first?</span>
1935
+ 45: <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">first</span>.<span class="ruby-identifier">nil?</span>
1936
+ 46: <span class="ruby-keyword kw">end</span>
1937
+ </pre>
1938
+ </div>
1939
+ </div>
1940
+ </div>
1941
+
1942
+ <div id="method-M000155" class="method-detail">
1943
+ <a name="M000155"></a>
1944
+
1945
+ <div class="method-heading">
1946
+ <a href="#M000155" class="method-signature">
1812
1947
  <span class="method-name">node.fragment? &rarr; (true|false)<br />
1813
1948
  </span>
1814
1949
  </a>
@@ -1819,8 +1954,8 @@ ruby_xml_node_find_first(int argc, VALUE *argv, VALUE self) {
1819
1954
  Determine whether this node is a fragment.
1820
1955
  </p>
1821
1956
  <p><a class="source-toggle" href="#"
1822
- onclick="toggleCode('M000135-source');return false;">[Source]</a></p>
1823
- <div class="method-source-code" id="M000135-source">
1957
+ onclick="toggleCode('M000155-source');return false;">[Source]</a></p>
1958
+ <div class="method-source-code" id="M000155-source">
1824
1959
  <pre>
1825
1960
  /*
1826
1961
  * call-seq:
@@ -1836,11 +1971,11 @@ ruby_xml_node_fragment_q(VALUE self) {
1836
1971
  </div>
1837
1972
  </div>
1838
1973
 
1839
- <div id="method-M000136" class="method-detail">
1840
- <a name="M000136"></a>
1974
+ <div id="method-M000156" class="method-detail">
1975
+ <a name="M000156"></a>
1841
1976
 
1842
1977
  <div class="method-heading">
1843
- <a href="#M000136" class="method-signature">
1978
+ <a href="#M000156" class="method-signature">
1844
1979
  <span class="method-name">node.html_doc? &rarr; (true|false)<br />
1845
1980
  </span>
1846
1981
  </a>
@@ -1851,8 +1986,8 @@ ruby_xml_node_fragment_q(VALUE self) {
1851
1986
  Determine whether this node is an html document node.
1852
1987
  </p>
1853
1988
  <p><a class="source-toggle" href="#"
1854
- onclick="toggleCode('M000136-source');return false;">[Source]</a></p>
1855
- <div class="method-source-code" id="M000136-source">
1989
+ onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
1990
+ <div class="method-source-code" id="M000156-source">
1856
1991
  <pre>
1857
1992
  /*
1858
1993
  * call-seq:
@@ -1868,11 +2003,11 @@ ruby_xml_node_html_doc_q(VALUE self) {
1868
2003
  </div>
1869
2004
  </div>
1870
2005
 
1871
- <div id="method-M000137" class="method-detail">
1872
- <a name="M000137"></a>
2006
+ <div id="method-M000157" class="method-detail">
2007
+ <a name="M000157"></a>
1873
2008
 
1874
2009
  <div class="method-heading">
1875
- <a href="#M000137" class="method-signature">
2010
+ <a href="#M000157" class="method-signature">
1876
2011
  <span class="method-name">node.lang &rarr; "string"<br />
1877
2012
  </span>
1878
2013
  </a>
@@ -1884,8 +2019,8 @@ Obtain the language set for this node, if any. This is set in <a
1884
2019
  href="../XML.html">XML</a> via the xml:lang attribute.
1885
2020
  </p>
1886
2021
  <p><a class="source-toggle" href="#"
1887
- onclick="toggleCode('M000137-source');return false;">[Source]</a></p>
1888
- <div class="method-source-code" id="M000137-source">
2022
+ onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
2023
+ <div class="method-source-code" id="M000157-source">
1889
2024
  <pre>
1890
2025
  /*
1891
2026
  * call-seq:
@@ -1902,11 +2037,11 @@ ruby_xml_node_lang_get(VALUE self) {
1902
2037
  </div>
1903
2038
  </div>
1904
2039
 
1905
- <div id="method-M000138" class="method-detail">
1906
- <a name="M000138"></a>
2040
+ <div id="method-M000158" class="method-detail">
2041
+ <a name="M000158"></a>
1907
2042
 
1908
2043
  <div class="method-heading">
1909
- <a href="#M000138" class="method-signature">
2044
+ <a href="#M000158" class="method-signature">
1910
2045
  <span class="method-name">node.lang = "string"<br />
1911
2046
  </span>
1912
2047
  </a>
@@ -1918,8 +2053,8 @@ ruby_xml_node_lang_get(VALUE self) {
1918
2053
  the value of the xml:lang attribute.
1919
2054
  </p>
1920
2055
  <p><a class="source-toggle" href="#"
1921
- onclick="toggleCode('M000138-source');return false;">[Source]</a></p>
1922
- <div class="method-source-code" id="M000138-source">
2056
+ onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
2057
+ <div class="method-source-code" id="M000158-source">
1923
2058
  <pre>
1924
2059
  /*
1925
2060
  * call-seq:
@@ -1936,12 +2071,12 @@ ruby_xml_node_lang_set(VALUE self, VALUE lang) {
1936
2071
  </div>
1937
2072
  </div>
1938
2073
 
1939
- <div id="method-M000139" class="method-detail">
1940
- <a name="M000139"></a>
2074
+ <div id="method-M000118" class="method-detail">
2075
+ <a name="M000118"></a>
1941
2076
 
1942
2077
  <div class="method-heading">
1943
- <a href="#M000139" class="method-signature">
1944
- <span class="method-name">node.last &rarr; node<br />
2078
+ <a href="#M000118" class="method-signature">
2079
+ <span class="method-name">node.last &rarr; XML::Node<br />
1945
2080
  </span>
1946
2081
  </a>
1947
2082
  </div>
@@ -1951,12 +2086,12 @@ ruby_xml_node_lang_set(VALUE self, VALUE lang) {
1951
2086
  Obtain the last child node of this node, if any.
1952
2087
  </p>
1953
2088
  <p><a class="source-toggle" href="#"
1954
- onclick="toggleCode('M000139-source');return false;">[Source]</a></p>
1955
- <div class="method-source-code" id="M000139-source">
2089
+ onclick="toggleCode('M000118-source');return false;">[Source]</a></p>
2090
+ <div class="method-source-code" id="M000118-source">
1956
2091
  <pre>
1957
2092
  /*
1958
2093
  * call-seq:
1959
- * node.last -&gt; node
2094
+ * node.last -&gt; XML::Node
1960
2095
  *
1961
2096
  * Obtain the last child node of this node, if any.
1962
2097
  */
@@ -1968,43 +2103,37 @@ ruby_xml_node_last_get(VALUE self) {
1968
2103
  </div>
1969
2104
  </div>
1970
2105
 
1971
- <div id="method-M000140" class="method-detail">
1972
- <a name="M000140"></a>
2106
+ <div id="method-M000197" class="method-detail">
2107
+ <a name="M000197"></a>
1973
2108
 
1974
2109
  <div class="method-heading">
1975
- <a href="#M000140" class="method-signature">
1976
- <span class="method-name">node.last? &rarr; (true|false)<br />
1977
- </span>
2110
+ <a href="#M000197" class="method-signature">
2111
+ <span class="method-name">last?</span><span class="method-args">()</span>
1978
2112
  </a>
1979
2113
  </div>
1980
2114
 
1981
2115
  <div class="method-description">
1982
2116
  <p>
1983
- Determine whether this node has a last child node.
2117
+ Determines whether this node has a last node
1984
2118
  </p>
1985
2119
  <p><a class="source-toggle" href="#"
1986
- onclick="toggleCode('M000140-source');return false;">[Source]</a></p>
1987
- <div class="method-source-code" id="M000140-source">
2120
+ onclick="toggleCode('M000197-source');return false;">[Source]</a></p>
2121
+ <div class="method-source-code" id="M000197-source">
1988
2122
  <pre>
1989
- /*
1990
- * call-seq:
1991
- * node.last? -&gt; (true|false)
1992
- *
1993
- * Determine whether this node has a last child node.
1994
- */
1995
- VALUE
1996
- ruby_xml_node_last_q(VALUE self) {
1997
-
2123
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 64</span>
2124
+ 64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last?</span>
2125
+ 65: <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">last</span>.<span class="ruby-identifier">nil?</span>
2126
+ 66: <span class="ruby-keyword kw">end</span>
1998
2127
  </pre>
1999
2128
  </div>
2000
2129
  </div>
2001
2130
  </div>
2002
2131
 
2003
- <div id="method-M000141" class="method-detail">
2004
- <a name="M000141"></a>
2132
+ <div id="method-M000159" class="method-detail">
2133
+ <a name="M000159"></a>
2005
2134
 
2006
2135
  <div class="method-heading">
2007
- <a href="#M000141" class="method-signature">
2136
+ <a href="#M000159" class="method-signature">
2008
2137
  <span class="method-name">node.line_num &rarr; num<br />
2009
2138
  </span>
2010
2139
  </a>
@@ -2017,8 +2146,8 @@ this node was read from. If <tt>default_line_numbers</tt> is set false (the
2017
2146
  default), this method returns zero.
2018
2147
  </p>
2019
2148
  <p><a class="source-toggle" href="#"
2020
- onclick="toggleCode('M000141-source');return false;">[Source]</a></p>
2021
- <div class="method-source-code" id="M000141-source">
2149
+ onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
2150
+ <div class="method-source-code" id="M000159-source">
2022
2151
  <pre>
2023
2152
  /*
2024
2153
  * call-seq:
@@ -2036,11 +2165,11 @@ ruby_xml_node_line_num(VALUE self) {
2036
2165
  </div>
2037
2166
  </div>
2038
2167
 
2039
- <div id="method-M000142" class="method-detail">
2040
- <a name="M000142"></a>
2168
+ <div id="method-M000160" class="method-detail">
2169
+ <a name="M000160"></a>
2041
2170
 
2042
2171
  <div class="method-heading">
2043
- <a href="#M000142" class="method-signature">
2172
+ <a href="#M000160" class="method-signature">
2044
2173
  <span class="method-name">node.name &rarr; "string"<br />
2045
2174
  </span>
2046
2175
  </a>
@@ -2051,8 +2180,8 @@ ruby_xml_node_line_num(VALUE self) {
2051
2180
  Obtain this node&#8217;s name.
2052
2181
  </p>
2053
2182
  <p><a class="source-toggle" href="#"
2054
- onclick="toggleCode('M000142-source');return false;">[Source]</a></p>
2055
- <div class="method-source-code" id="M000142-source">
2183
+ onclick="toggleCode('M000160-source');return false;">[Source]</a></p>
2184
+ <div class="method-source-code" id="M000160-source">
2056
2185
  <pre>
2057
2186
  /*
2058
2187
  * call-seq:
@@ -2068,11 +2197,11 @@ ruby_xml_node_name_get(VALUE self) {
2068
2197
  </div>
2069
2198
  </div>
2070
2199
 
2071
- <div id="method-M000143" class="method-detail">
2072
- <a name="M000143"></a>
2200
+ <div id="method-M000161" class="method-detail">
2201
+ <a name="M000161"></a>
2073
2202
 
2074
2203
  <div class="method-heading">
2075
- <a href="#M000143" class="method-signature">
2204
+ <a href="#M000161" class="method-signature">
2076
2205
  <span class="method-name">node.name = "string"<br />
2077
2206
  </span>
2078
2207
  </a>
@@ -2083,8 +2212,8 @@ ruby_xml_node_name_get(VALUE self) {
2083
2212
  <a href="Node/Set.html">Set</a> this node&#8217;s name.
2084
2213
  </p>
2085
2214
  <p><a class="source-toggle" href="#"
2086
- onclick="toggleCode('M000143-source');return false;">[Source]</a></p>
2087
- <div class="method-source-code" id="M000143-source">
2215
+ onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
2216
+ <div class="method-source-code" id="M000161-source">
2088
2217
  <pre>
2089
2218
  /*
2090
2219
  * call-seq:
@@ -2100,11 +2229,11 @@ ruby_xml_node_name_set(VALUE self, VALUE name) {
2100
2229
  </div>
2101
2230
  </div>
2102
2231
 
2103
- <div id="method-M000144" class="method-detail">
2104
- <a name="M000144"></a>
2232
+ <div id="method-M000162" class="method-detail">
2233
+ <a name="M000162"></a>
2105
2234
 
2106
2235
  <div class="method-heading">
2107
- <a href="#M000144" class="method-signature">
2236
+ <a href="#M000162" class="method-signature">
2108
2237
  <span class="method-name">node.namespace &rarr; [namespace, ..., namespace]<br />
2109
2238
  </span>
2110
2239
  </a>
@@ -2116,8 +2245,8 @@ Obtain an array of +<a href="NS.html">XML::NS</a>+ objects representing
2116
2245
  this node&#8217;s xmlns attributes
2117
2246
  </p>
2118
2247
  <p><a class="source-toggle" href="#"
2119
- onclick="toggleCode('M000144-source');return false;">[Source]</a></p>
2120
- <div class="method-source-code" id="M000144-source">
2248
+ onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
2249
+ <div class="method-source-code" id="M000162-source">
2121
2250
  <pre>
2122
2251
  /*
2123
2252
  * call-seq:
@@ -2134,11 +2263,11 @@ ruby_xml_node_namespace_get(VALUE self) {
2134
2263
  </div>
2135
2264
  </div>
2136
2265
 
2137
- <div id="method-M000147" class="method-detail">
2138
- <a name="M000147"></a>
2266
+ <div id="method-M000165" class="method-detail">
2267
+ <a name="M000165"></a>
2139
2268
 
2140
2269
  <div class="method-heading">
2141
- <a href="#M000147" class="method-signature">
2270
+ <a href="#M000165" class="method-signature">
2142
2271
  <span class="method-name">node.namespace = namespace<br />
2143
2272
  </span>
2144
2273
  </a>
@@ -2150,8 +2279,8 @@ Add the specified <a href="NS.html">XML::NS</a> object to this node&#8217;s
2150
2279
  xmlns attributes.
2151
2280
  </p>
2152
2281
  <p><a class="source-toggle" href="#"
2153
- onclick="toggleCode('M000147-source');return false;">[Source]</a></p>
2154
- <div class="method-source-code" id="M000147-source">
2282
+ onclick="toggleCode('M000165-source');return false;">[Source]</a></p>
2283
+ <div class="method-source-code" id="M000165-source">
2155
2284
  <pre>
2156
2285
  /*
2157
2286
  * call-seq:
@@ -2167,11 +2296,11 @@ ruby_xml_node_namespace_set(int argc, VALUE *argv, VALUE self) {
2167
2296
  </div>
2168
2297
  </div>
2169
2298
 
2170
- <div id="method-M000146" class="method-detail">
2171
- <a name="M000146"></a>
2299
+ <div id="method-M000164" class="method-detail">
2300
+ <a name="M000164"></a>
2172
2301
 
2173
2302
  <div class="method-heading">
2174
- <a href="#M000146" class="method-signature">
2303
+ <a href="#M000164" class="method-signature">
2175
2304
  <span class="method-name">node.namespace? &rarr; (true|false)<br />
2176
2305
  </span>
2177
2306
  </a>
@@ -2182,8 +2311,8 @@ ruby_xml_node_namespace_set(int argc, VALUE *argv, VALUE self) {
2182
2311
  Determine whether this node <b>is</b> (not has) a namespace node.
2183
2312
  </p>
2184
2313
  <p><a class="source-toggle" href="#"
2185
- onclick="toggleCode('M000146-source');return false;">[Source]</a></p>
2186
- <div class="method-source-code" id="M000146-source">
2314
+ onclick="toggleCode('M000164-source');return false;">[Source]</a></p>
2315
+ <div class="method-source-code" id="M000164-source">
2187
2316
  <pre>
2188
2317
  /*
2189
2318
  * call-seq:
@@ -2200,11 +2329,11 @@ ruby_xml_node_namespace_q(VALUE self) {
2200
2329
  </div>
2201
2330
  </div>
2202
2331
 
2203
- <div id="method-M000145" class="method-detail">
2204
- <a name="M000145"></a>
2332
+ <div id="method-M000163" class="method-detail">
2333
+ <a name="M000163"></a>
2205
2334
 
2206
2335
  <div class="method-heading">
2207
- <a href="#M000145" class="method-signature">
2336
+ <a href="#M000163" class="method-signature">
2208
2337
  <span class="method-name">node.namespace_node &rarr; namespace.<br />
2209
2338
  </span>
2210
2339
  </a>
@@ -2215,8 +2344,8 @@ ruby_xml_node_namespace_q(VALUE self) {
2215
2344
  Obtain this node&#8217;s namespace node.
2216
2345
  </p>
2217
2346
  <p><a class="source-toggle" href="#"
2218
- onclick="toggleCode('M000145-source');return false;">[Source]</a></p>
2219
- <div class="method-source-code" id="M000145-source">
2347
+ onclick="toggleCode('M000163-source');return false;">[Source]</a></p>
2348
+ <div class="method-source-code" id="M000163-source">
2220
2349
  <pre>
2221
2350
  /*
2222
2351
  * call-seq:
@@ -2232,12 +2361,12 @@ ruby_xml_node_namespace_get_node(VALUE self) {
2232
2361
  </div>
2233
2362
  </div>
2234
2363
 
2235
- <div id="method-M000148" class="method-detail">
2236
- <a name="M000148"></a>
2364
+ <div id="method-M000119" class="method-detail">
2365
+ <a name="M000119"></a>
2237
2366
 
2238
2367
  <div class="method-heading">
2239
- <a href="#M000148" class="method-signature">
2240
- <span class="method-name">node.next &rarr; node<br />
2368
+ <a href="#M000119" class="method-signature">
2369
+ <span class="method-name">node.next &rarr; XML::Node<br />
2241
2370
  </span>
2242
2371
  </a>
2243
2372
  </div>
@@ -2247,12 +2376,12 @@ ruby_xml_node_namespace_get_node(VALUE self) {
2247
2376
  Obtain the next sibling node, if any.
2248
2377
  </p>
2249
2378
  <p><a class="source-toggle" href="#"
2250
- onclick="toggleCode('M000148-source');return false;">[Source]</a></p>
2251
- <div class="method-source-code" id="M000148-source">
2379
+ onclick="toggleCode('M000119-source');return false;">[Source]</a></p>
2380
+ <div class="method-source-code" id="M000119-source">
2252
2381
  <pre>
2253
2382
  /*
2254
2383
  * call-seq:
2255
- * node.next -&gt; node
2384
+ * node.next -&gt; XML::Node
2256
2385
  *
2257
2386
  * Obtain the next sibling node, if any.
2258
2387
  */
@@ -2264,11 +2393,11 @@ ruby_xml_node_next_get(VALUE self) {
2264
2393
  </div>
2265
2394
  </div>
2266
2395
 
2267
- <div id="method-M000150" class="method-detail">
2268
- <a name="M000150"></a>
2396
+ <div id="method-M000127" class="method-detail">
2397
+ <a name="M000127"></a>
2269
2398
 
2270
2399
  <div class="method-heading">
2271
- <a href="#M000150" class="method-signature">
2400
+ <a href="#M000127" class="method-signature">
2272
2401
  <span class="method-name">node.next = node<br />
2273
2402
  </span>
2274
2403
  </a>
@@ -2279,8 +2408,8 @@ ruby_xml_node_next_get(VALUE self) {
2279
2408
  Insert the specified node as this node&#8217;s next sibling.
2280
2409
  </p>
2281
2410
  <p><a class="source-toggle" href="#"
2282
- onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
2283
- <div class="method-source-code" id="M000150-source">
2411
+ onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
2412
+ <div class="method-source-code" id="M000127-source">
2284
2413
  <pre>
2285
2414
  /*
2286
2415
  * call-seq:
@@ -2296,43 +2425,37 @@ ruby_xml_node_next_set(VALUE self, VALUE rnode) {
2296
2425
  </div>
2297
2426
  </div>
2298
2427
 
2299
- <div id="method-M000149" class="method-detail">
2300
- <a name="M000149"></a>
2428
+ <div id="method-M000195" class="method-detail">
2429
+ <a name="M000195"></a>
2301
2430
 
2302
2431
  <div class="method-heading">
2303
- <a href="#M000149" class="method-signature">
2304
- <span class="method-name">node.next? &rarr; (true|false)<br />
2305
- </span>
2432
+ <a href="#M000195" class="method-signature">
2433
+ <span class="method-name">next?</span><span class="method-args">()</span>
2306
2434
  </a>
2307
2435
  </div>
2308
2436
 
2309
2437
  <div class="method-description">
2310
2438
  <p>
2311
- Determine whether this node has a next sibling.
2439
+ Determines whether this node has a next node
2312
2440
  </p>
2313
2441
  <p><a class="source-toggle" href="#"
2314
- onclick="toggleCode('M000149-source');return false;">[Source]</a></p>
2315
- <div class="method-source-code" id="M000149-source">
2442
+ onclick="toggleCode('M000195-source');return false;">[Source]</a></p>
2443
+ <div class="method-source-code" id="M000195-source">
2316
2444
  <pre>
2317
- /*
2318
- * call-seq:
2319
- * node.next? -&gt; (true|false)
2320
- *
2321
- * Determine whether this node has a next sibling.
2322
- */
2323
- VALUE
2324
- ruby_xml_node_next_q(VALUE self) {
2325
-
2445
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 54</span>
2446
+ 54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next?</span>
2447
+ 55: <span class="ruby-keyword kw">not</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">next</span>.<span class="ruby-identifier">nil?</span>
2448
+ 56: <span class="ruby-keyword kw">end</span>
2326
2449
  </pre>
2327
2450
  </div>
2328
2451
  </div>
2329
2452
  </div>
2330
2453
 
2331
- <div id="method-M000151" class="method-detail">
2332
- <a name="M000151"></a>
2454
+ <div id="method-M000166" class="method-detail">
2455
+ <a name="M000166"></a>
2333
2456
 
2334
2457
  <div class="method-heading">
2335
- <a href="#M000151" class="method-signature">
2458
+ <a href="#M000166" class="method-signature">
2336
2459
  <span class="method-name">node.type &rarr; num<br />
2337
2460
  </span>
2338
2461
  </a>
@@ -2343,8 +2466,8 @@ ruby_xml_node_next_q(VALUE self) {
2343
2466
  Obtain this node&#8217;s type identifier.
2344
2467
  </p>
2345
2468
  <p><a class="source-toggle" href="#"
2346
- onclick="toggleCode('M000151-source');return false;">[Source]</a></p>
2347
- <div class="method-source-code" id="M000151-source">
2469
+ onclick="toggleCode('M000166-source');return false;">[Source]</a></p>
2470
+ <div class="method-source-code" id="M000166-source">
2348
2471
  <pre>
2349
2472
  /*
2350
2473
  * call-seq:
@@ -2360,43 +2483,82 @@ ruby_xml_node_type(VALUE self) {
2360
2483
  </div>
2361
2484
  </div>
2362
2485
 
2363
- <div id="method-M000152" class="method-detail">
2364
- <a name="M000152"></a>
2486
+ <div id="method-M000198" class="method-detail">
2487
+ <a name="M000198"></a>
2365
2488
 
2366
2489
  <div class="method-heading">
2367
- <a href="#M000152" class="method-signature">
2368
- <span class="method-name">node.type_name &rarr; num<br />
2369
- </span>
2490
+ <a href="#M000198" class="method-signature">
2491
+ <span class="method-name">node_type_name</span><span class="method-args">()</span>
2370
2492
  </a>
2371
2493
  </div>
2372
2494
 
2373
2495
  <div class="method-description">
2374
2496
  <p>
2375
- Obtain this node&#8217;s type name.
2497
+ Returns this node&#8217;s type name
2376
2498
  </p>
2377
2499
  <p><a class="source-toggle" href="#"
2378
- onclick="toggleCode('M000152-source');return false;">[Source]</a></p>
2379
- <div class="method-source-code" id="M000152-source">
2500
+ onclick="toggleCode('M000198-source');return false;">[Source]</a></p>
2501
+ <div class="method-source-code" id="M000198-source">
2380
2502
  <pre>
2381
- /*
2382
- * call-seq:
2383
- * node.type_name -&gt; num
2384
- *
2385
- * Obtain this node's type name.
2386
- */
2387
- VALUE
2388
- ruby_xml_node_type_name(VALUE self) {
2389
-
2503
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 69</span>
2504
+ 69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">node_type_name</span>
2505
+ 70: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">node_type</span>
2506
+ 71: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">ELEMENT_NODE</span><span class="ruby-operator">:</span>
2507
+ 72: <span class="ruby-value str">'element'</span>
2508
+ 73: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">ATTRIBUTE_NODE</span><span class="ruby-operator">:</span>
2509
+ 74: <span class="ruby-value str">'attribute'</span>
2510
+ 75: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">TEXT_NODE</span><span class="ruby-operator">:</span>
2511
+ 76: <span class="ruby-value str">'text'</span>
2512
+ 77: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">CDATA_SECTION_NODE</span><span class="ruby-operator">:</span>
2513
+ 78: <span class="ruby-value str">'cdata'</span>
2514
+ 79: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">ENTITY_REF_NODE</span><span class="ruby-operator">:</span>
2515
+ 80: <span class="ruby-value str">'entity_ref'</span>
2516
+ 81: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">ENTITY_NODE</span><span class="ruby-operator">:</span>
2517
+ 82: <span class="ruby-value str">'entity'</span>
2518
+ 83: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">PI_NODE</span><span class="ruby-operator">:</span>
2519
+ 84: <span class="ruby-value str">'pi'</span>
2520
+ 85: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">COMMENT_NODE</span><span class="ruby-operator">:</span>
2521
+ 86: <span class="ruby-value str">'comment'</span>
2522
+ 87: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">DOCUMENT_NODE</span><span class="ruby-operator">:</span>
2523
+ 88: <span class="ruby-value str">'document_xml'</span>
2524
+ 89: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">DOCUMENT_TYPE_NODE</span><span class="ruby-operator">:</span>
2525
+ 90: <span class="ruby-value str">'doctype'</span>
2526
+ 91: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">DOCUMENT_FRAG_NODE</span><span class="ruby-operator">:</span>
2527
+ 92: <span class="ruby-value str">'fragment'</span>
2528
+ 93: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">NOTATION_NODE</span><span class="ruby-operator">:</span>
2529
+ 94: <span class="ruby-value str">'notation'</span>
2530
+ 95: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">HTML_DOCUMENT_NODE</span><span class="ruby-operator">:</span>
2531
+ 96: <span class="ruby-value str">'document_html'</span>
2532
+ 97: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">DTD_NODE</span><span class="ruby-operator">:</span>
2533
+ 98: <span class="ruby-value str">'dtd'</span>
2534
+ 99: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">ELEMENT_DECL</span><span class="ruby-operator">:</span>
2535
+ 100: <span class="ruby-value str">'elem_decl'</span>
2536
+ 101: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">ATTRIBUTE_DECL</span><span class="ruby-operator">:</span>
2537
+ 102: <span class="ruby-value str">'attribute_decl'</span>
2538
+ 103: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">ENTITY_DECL</span><span class="ruby-operator">:</span>
2539
+ 104: <span class="ruby-value str">'entity_decl'</span>
2540
+ 105: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">NAMESPACE_DECL</span><span class="ruby-operator">:</span>
2541
+ 106: <span class="ruby-value str">'namespace'</span>
2542
+ 107: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">XINCLUDE_START</span><span class="ruby-operator">:</span>
2543
+ 108: <span class="ruby-value str">'xinclude_start'</span>
2544
+ 109: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">XINCLUDE_END</span><span class="ruby-operator">:</span>
2545
+ 110: <span class="ruby-value str">'xinclude_end'</span>
2546
+ 111: <span class="ruby-keyword kw">when</span> <span class="ruby-constant">DOCB_DOCUMENT_NODE</span><span class="ruby-operator">:</span>
2547
+ 112: <span class="ruby-value str">'document_docbook'</span>
2548
+ 113: <span class="ruby-keyword kw">else</span>
2549
+ 114: <span class="ruby-identifier">raise</span>(<span class="ruby-constant">UnknownType</span>, <span class="ruby-value str">&quot;Unknown node type: %n&quot;</span>, <span class="ruby-identifier">node</span>.<span class="ruby-identifier">node_type</span>);
2550
+ 115: <span class="ruby-keyword kw">end</span>
2551
+ 116: <span class="ruby-keyword kw">end</span>
2390
2552
  </pre>
2391
2553
  </div>
2392
2554
  </div>
2393
2555
  </div>
2394
2556
 
2395
- <div id="method-M000153" class="method-detail">
2396
- <a name="M000153"></a>
2557
+ <div id="method-M000167" class="method-detail">
2558
+ <a name="M000167"></a>
2397
2559
 
2398
2560
  <div class="method-heading">
2399
- <a href="#M000153" class="method-signature">
2561
+ <a href="#M000167" class="method-signature">
2400
2562
  <span class="method-name">node.notation? &rarr; (true|false)<br />
2401
2563
  </span>
2402
2564
  </a>
@@ -2407,8 +2569,8 @@ ruby_xml_node_type_name(VALUE self) {
2407
2569
  Determine whether this is a notation node
2408
2570
  </p>
2409
2571
  <p><a class="source-toggle" href="#"
2410
- onclick="toggleCode('M000153-source');return false;">[Source]</a></p>
2411
- <div class="method-source-code" id="M000153-source">
2572
+ onclick="toggleCode('M000167-source');return false;">[Source]</a></p>
2573
+ <div class="method-source-code" id="M000167-source">
2412
2574
  <pre>
2413
2575
  /*
2414
2576
  * call-seq:
@@ -2424,11 +2586,11 @@ ruby_xml_node_notation_q(VALUE self) {
2424
2586
  </div>
2425
2587
  </div>
2426
2588
 
2427
- <div id="method-M000154" class="method-detail">
2428
- <a name="M000154"></a>
2589
+ <div id="method-M000168" class="method-detail">
2590
+ <a name="M000168"></a>
2429
2591
 
2430
2592
  <div class="method-heading">
2431
- <a href="#M000154" class="method-signature">
2593
+ <a href="#M000168" class="method-signature">
2432
2594
  <span class="method-name">node.namespace &rarr; [namespace, ..., namespace]<br />
2433
2595
  </span>
2434
2596
  </a>
@@ -2440,8 +2602,8 @@ Obtain an array of +<a href="NS.html">XML::NS</a>+ objects representing
2440
2602
  this node&#8217;s xmlns attributes
2441
2603
  </p>
2442
2604
  <p><a class="source-toggle" href="#"
2443
- onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
2444
- <div class="method-source-code" id="M000154-source">
2605
+ onclick="toggleCode('M000168-source');return false;">[Source]</a></p>
2606
+ <div class="method-source-code" id="M000168-source">
2445
2607
  <pre>
2446
2608
  /*
2447
2609
  * call-seq:
@@ -2458,11 +2620,11 @@ ruby_xml_node_namespace_get(VALUE self) {
2458
2620
  </div>
2459
2621
  </div>
2460
2622
 
2461
- <div id="method-M000155" class="method-detail">
2462
- <a name="M000155"></a>
2623
+ <div id="method-M000169" class="method-detail">
2624
+ <a name="M000169"></a>
2463
2625
 
2464
2626
  <div class="method-heading">
2465
- <a href="#M000155" class="method-signature">
2627
+ <a href="#M000169" class="method-signature">
2466
2628
  <span class="method-name">node.ns? &rarr; (true|false)<br />
2467
2629
  </span>
2468
2630
  </a>
@@ -2473,8 +2635,8 @@ ruby_xml_node_namespace_get(VALUE self) {
2473
2635
  Determine whether this node is a namespace node.
2474
2636
  </p>
2475
2637
  <p><a class="source-toggle" href="#"
2476
- onclick="toggleCode('M000155-source');return false;">[Source]</a></p>
2477
- <div class="method-source-code" id="M000155-source">
2638
+ onclick="toggleCode('M000169-source');return false;">[Source]</a></p>
2639
+ <div class="method-source-code" id="M000169-source">
2478
2640
  <pre>
2479
2641
  /*
2480
2642
  * call-seq:
@@ -2490,11 +2652,11 @@ ruby_xml_node_ns_q(VALUE self) {
2490
2652
  </div>
2491
2653
  </div>
2492
2654
 
2493
- <div id="method-M000156" class="method-detail">
2494
- <a name="M000156"></a>
2655
+ <div id="method-M000170" class="method-detail">
2656
+ <a name="M000170"></a>
2495
2657
 
2496
2658
  <div class="method-heading">
2497
- <a href="#M000156" class="method-signature">
2659
+ <a href="#M000170" class="method-signature">
2498
2660
  <span class="method-name">node.ns_def &rarr; namespace<br />
2499
2661
  </span>
2500
2662
  </a>
@@ -2505,8 +2667,8 @@ ruby_xml_node_ns_q(VALUE self) {
2505
2667
  Obtain this node&#8217;s default namespace.
2506
2668
  </p>
2507
2669
  <p><a class="source-toggle" href="#"
2508
- onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
2509
- <div class="method-source-code" id="M000156-source">
2670
+ onclick="toggleCode('M000170-source');return false;">[Source]</a></p>
2671
+ <div class="method-source-code" id="M000170-source">
2510
2672
  <pre>
2511
2673
  /*
2512
2674
  * call-seq:
@@ -2522,11 +2684,11 @@ ruby_xml_node_ns_def_get(VALUE self) {
2522
2684
  </div>
2523
2685
  </div>
2524
2686
 
2525
- <div id="method-M000157" class="method-detail">
2526
- <a name="M000157"></a>
2687
+ <div id="method-M000171" class="method-detail">
2688
+ <a name="M000171"></a>
2527
2689
 
2528
2690
  <div class="method-heading">
2529
- <a href="#M000157" class="method-signature">
2691
+ <a href="#M000171" class="method-signature">
2530
2692
  <span class="method-name">node.ns_def? &rarr; (true|false)<br />
2531
2693
  </span>
2532
2694
  </a>
@@ -2538,8 +2700,8 @@ Obtain an array of +<a href="NS.html">XML::NS</a>+ objects representing
2538
2700
  this node&#8217;s xmlns attributes
2539
2701
  </p>
2540
2702
  <p><a class="source-toggle" href="#"
2541
- onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
2542
- <div class="method-source-code" id="M000157-source">
2703
+ onclick="toggleCode('M000171-source');return false;">[Source]</a></p>
2704
+ <div class="method-source-code" id="M000171-source">
2543
2705
  <pre>
2544
2706
  /*
2545
2707
  * call-seq:
@@ -2556,12 +2718,12 @@ ruby_xml_node_ns_def_q(VALUE self) {
2556
2718
  </div>
2557
2719
  </div>
2558
2720
 
2559
- <div id="method-M000158" class="method-detail">
2560
- <a name="M000158"></a>
2721
+ <div id="method-M000120" class="method-detail">
2722
+ <a name="M000120"></a>
2561
2723
 
2562
2724
  <div class="method-heading">
2563
- <a href="#M000158" class="method-signature">
2564
- <span class="method-name">node.parent &rarr; node<br />
2725
+ <a href="#M000120" class="method-signature">
2726
+ <span class="method-name">node.parent &rarr; XML::Node<br />
2565
2727
  </span>
2566
2728
  </a>
2567
2729
  </div>
@@ -2571,12 +2733,12 @@ ruby_xml_node_ns_def_q(VALUE self) {
2571
2733
  Obtain this node&#8217;s parent node, if any.
2572
2734
  </p>
2573
2735
  <p><a class="source-toggle" href="#"
2574
- onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
2575
- <div class="method-source-code" id="M000158-source">
2736
+ onclick="toggleCode('M000120-source');return false;">[Source]</a></p>
2737
+ <div class="method-source-code" id="M000120-source">
2576
2738
  <pre>
2577
2739
  /*
2578
2740
  * call-seq:
2579
- * node.parent -&gt; node
2741
+ * node.parent -&gt; XML::Node
2580
2742
  *
2581
2743
  * Obtain this node's parent node, if any.
2582
2744
  */
@@ -2588,43 +2750,37 @@ ruby_xml_node_parent_get(VALUE self) {
2588
2750
  </div>
2589
2751
  </div>
2590
2752
 
2591
- <div id="method-M000159" class="method-detail">
2592
- <a name="M000159"></a>
2753
+ <div id="method-M000192" class="method-detail">
2754
+ <a name="M000192"></a>
2593
2755
 
2594
2756
  <div class="method-heading">
2595
- <a href="#M000159" class="method-signature">
2596
- <span class="method-name">node.parent? &rarr; (true|false)<br />
2597
- </span>
2757
+ <a href="#M000192" class="method-signature">
2758
+ <span class="method-name">parent?</span><span class="method-args">()</span>
2598
2759
  </a>
2599
2760
  </div>
2600
2761
 
2601
2762
  <div class="method-description">
2602
2763
  <p>
2603
- Determine whether this node has a parent node.
2764
+ Determines whether this node has a parent node
2604
2765
  </p>
2605
2766
  <p><a class="source-toggle" href="#"
2606
- onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
2607
- <div class="method-source-code" id="M000159-source">
2767
+ onclick="toggleCode('M000192-source');return false;">[Source]</a></p>
2768
+ <div class="method-source-code" id="M000192-source">
2608
2769
  <pre>
2609
- /*
2610
- * call-seq:
2611
- * node.parent? -&gt; (true|false)
2612
- *
2613
- * Determine whether this node has a parent node.
2614
- */
2615
- VALUE
2616
- ruby_xml_node_parent_q(VALUE self) {
2617
-
2770
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 39</span>
2771
+ 39: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parent?</span>
2772
+ 40: <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">nil?</span>
2773
+ 41: <span class="ruby-keyword kw">end</span>
2618
2774
  </pre>
2619
2775
  </div>
2620
2776
  </div>
2621
2777
  </div>
2622
2778
 
2623
- <div id="method-M000160" class="method-detail">
2624
- <a name="M000160"></a>
2779
+ <div id="method-M000172" class="method-detail">
2780
+ <a name="M000172"></a>
2625
2781
 
2626
2782
  <div class="method-heading">
2627
- <a href="#M000160" class="method-signature">
2783
+ <a href="#M000172" class="method-signature">
2628
2784
  <span class="method-name">node.path &rarr; path<br />
2629
2785
  </span>
2630
2786
  </a>
@@ -2635,8 +2791,8 @@ ruby_xml_node_parent_q(VALUE self) {
2635
2791
  Obtain this node&#8217;s path.
2636
2792
  </p>
2637
2793
  <p><a class="source-toggle" href="#"
2638
- onclick="toggleCode('M000160-source');return false;">[Source]</a></p>
2639
- <div class="method-source-code" id="M000160-source">
2794
+ onclick="toggleCode('M000172-source');return false;">[Source]</a></p>
2795
+ <div class="method-source-code" id="M000172-source">
2640
2796
  <pre>
2641
2797
  /*
2642
2798
  * call-seq:
@@ -2652,11 +2808,11 @@ ruby_xml_node_path(VALUE self) {
2652
2808
  </div>
2653
2809
  </div>
2654
2810
 
2655
- <div id="method-M000161" class="method-detail">
2656
- <a name="M000161"></a>
2811
+ <div id="method-M000173" class="method-detail">
2812
+ <a name="M000173"></a>
2657
2813
 
2658
2814
  <div class="method-heading">
2659
- <a href="#M000161" class="method-signature">
2815
+ <a href="#M000173" class="method-signature">
2660
2816
  <span class="method-name">node.pi? &rarr; (true|false)<br />
2661
2817
  </span>
2662
2818
  </a>
@@ -2667,8 +2823,8 @@ ruby_xml_node_path(VALUE self) {
2667
2823
  Determine whether this is a processing instruction node.
2668
2824
  </p>
2669
2825
  <p><a class="source-toggle" href="#"
2670
- onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
2671
- <div class="method-source-code" id="M000161-source">
2826
+ onclick="toggleCode('M000173-source');return false;">[Source]</a></p>
2827
+ <div class="method-source-code" id="M000173-source">
2672
2828
  <pre>
2673
2829
  /*
2674
2830
  * call-seq:
@@ -2684,12 +2840,12 @@ ruby_xml_node_pi_q(VALUE self) {
2684
2840
  </div>
2685
2841
  </div>
2686
2842
 
2687
- <div id="method-M000162" class="method-detail">
2688
- <a name="M000162"></a>
2843
+ <div id="method-M000174" class="method-detail">
2844
+ <a name="M000174"></a>
2689
2845
 
2690
2846
  <div class="method-heading">
2691
- <a href="#M000162" class="method-signature">
2692
- <span class="method-name">node.pointer &rarr; node_set<br />
2847
+ <a href="#M000174" class="method-signature">
2848
+ <span class="method-name">node.pointer &rarr; XML::Node_set<br />
2693
2849
  </span>
2694
2850
  </a>
2695
2851
  </div>
@@ -2700,12 +2856,12 @@ Evaluates an <a href="XPointer.html">XPointer</a> expression relative to
2700
2856
  this node.
2701
2857
  </p>
2702
2858
  <p><a class="source-toggle" href="#"
2703
- onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
2704
- <div class="method-source-code" id="M000162-source">
2859
+ onclick="toggleCode('M000174-source');return false;">[Source]</a></p>
2860
+ <div class="method-source-code" id="M000174-source">
2705
2861
  <pre>
2706
2862
  /*
2707
2863
  * call-seq:
2708
- * node.pointer -&gt; node_set
2864
+ * node.pointer -&gt; XML::Node_set
2709
2865
  *
2710
2866
  * Evaluates an XPointer expression relative to this node.
2711
2867
  */
@@ -2717,12 +2873,12 @@ ruby_xml_node_pointer(VALUE self, VALUE xptr_str) {
2717
2873
  </div>
2718
2874
  </div>
2719
2875
 
2720
- <div id="method-M000163" class="method-detail">
2721
- <a name="M000163"></a>
2876
+ <div id="method-M000121" class="method-detail">
2877
+ <a name="M000121"></a>
2722
2878
 
2723
2879
  <div class="method-heading">
2724
- <a href="#M000163" class="method-signature">
2725
- <span class="method-name">node.prev &rarr; node<br />
2880
+ <a href="#M000121" class="method-signature">
2881
+ <span class="method-name">node.prev &rarr; XML::Node<br />
2726
2882
  </span>
2727
2883
  </a>
2728
2884
  </div>
@@ -2732,12 +2888,12 @@ ruby_xml_node_pointer(VALUE self, VALUE xptr_str) {
2732
2888
  Obtain the previous sibling, if any.
2733
2889
  </p>
2734
2890
  <p><a class="source-toggle" href="#"
2735
- onclick="toggleCode('M000163-source');return false;">[Source]</a></p>
2736
- <div class="method-source-code" id="M000163-source">
2891
+ onclick="toggleCode('M000121-source');return false;">[Source]</a></p>
2892
+ <div class="method-source-code" id="M000121-source">
2737
2893
  <pre>
2738
2894
  /*
2739
2895
  * call-seq:
2740
- * node.prev -&gt; node
2896
+ * node.prev -&gt; XML::Node
2741
2897
  *
2742
2898
  * Obtain the previous sibling, if any.
2743
2899
  */
@@ -2749,11 +2905,11 @@ ruby_xml_node_prev_get(VALUE self) {
2749
2905
  </div>
2750
2906
  </div>
2751
2907
 
2752
- <div id="method-M000165" class="method-detail">
2753
- <a name="M000165"></a>
2908
+ <div id="method-M000128" class="method-detail">
2909
+ <a name="M000128"></a>
2754
2910
 
2755
2911
  <div class="method-heading">
2756
- <a href="#M000165" class="method-signature">
2912
+ <a href="#M000128" class="method-signature">
2757
2913
  <span class="method-name">node.prev = node<br />
2758
2914
  </span>
2759
2915
  </a>
@@ -2764,8 +2920,8 @@ ruby_xml_node_prev_get(VALUE self) {
2764
2920
  Insert the specified node as this node&#8217;s previous sibling.
2765
2921
  </p>
2766
2922
  <p><a class="source-toggle" href="#"
2767
- onclick="toggleCode('M000165-source');return false;">[Source]</a></p>
2768
- <div class="method-source-code" id="M000165-source">
2923
+ onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
2924
+ <div class="method-source-code" id="M000128-source">
2769
2925
  <pre>
2770
2926
  /*
2771
2927
  * call-seq:
@@ -2781,40 +2937,57 @@ ruby_xml_node_prev_set(VALUE self, VALUE rnode) {
2781
2937
  </div>
2782
2938
  </div>
2783
2939
 
2784
- <div id="method-M000164" class="method-detail">
2785
- <a name="M000164"></a>
2940
+ <div id="method-M000196" class="method-detail">
2941
+ <a name="M000196"></a>
2786
2942
 
2787
2943
  <div class="method-heading">
2788
- <a href="#M000164" class="method-signature">
2789
- <span class="method-name">node.prev? &rarr; (true|false)<br />
2790
- </span>
2944
+ <a href="#M000196" class="method-signature">
2945
+ <span class="method-name">prev?</span><span class="method-args">()</span>
2791
2946
  </a>
2792
2947
  </div>
2793
2948
 
2794
2949
  <div class="method-description">
2795
2950
  <p>
2796
- Determines whether this node has a previous sibling node.
2951
+ Determines whether this node has a previous node
2797
2952
  </p>
2798
2953
  <p><a class="source-toggle" href="#"
2799
- onclick="toggleCode('M000164-source');return false;">[Source]</a></p>
2800
- <div class="method-source-code" id="M000164-source">
2954
+ onclick="toggleCode('M000196-source');return false;">[Source]</a></p>
2955
+ <div class="method-source-code" id="M000196-source">
2801
2956
  <pre>
2802
- /*
2803
- * call-seq:
2804
- * node.prev? -&gt; (true|false)
2805
- *
2806
- * Determines whether this node has a previous sibling node.
2807
- */
2808
- VALUE
2809
- ruby_xml_node_prev_q(VALUE self) {
2957
+ <span class="ruby-comment cmt"># File lib/libxml/node.rb, line 59</span>
2958
+ 59: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev?</span>
2959
+ 60: <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">prev</span>.<span class="ruby-identifier">nil?</span>
2960
+ 61: <span class="ruby-keyword kw">end</span>
2961
+ </pre>
2962
+ </div>
2963
+ </div>
2964
+ </div>
2965
+
2966
+ <div id="method-M000205" class="method-detail">
2967
+ <a name="M000205"></a>
2810
2968
 
2969
+ <div class="method-heading">
2970
+ <a href="#M000205" class="method-signature">
2971
+ <span class="method-name">properties</span><span class="method-args">()</span>
2972
+ </a>
2973
+ </div>
2974
+
2975
+ <div class="method-description">
2976
+ <p><a class="source-toggle" href="#"
2977
+ onclick="toggleCode('M000205-source');return false;">[Source]</a></p>
2978
+ <div class="method-source-code" id="M000205-source">
2979
+ <pre>
2980
+ <span class="ruby-comment cmt"># File lib/libxml/properties.rb, line 9</span>
2981
+ 9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">properties</span>
2982
+ 10: <span class="ruby-identifier">attributes</span>
2983
+ 11: <span class="ruby-keyword kw">end</span>
2811
2984
  </pre>
2812
2985
  </div>
2813
2986
  </div>
2814
2987
  </div>
2815
2988
 
2816
- <div id="method-M000180" class="method-detail">
2817
- <a name="M000180"></a>
2989
+ <div id="method-M000188" class="method-detail">
2990
+ <a name="M000188"></a>
2818
2991
 
2819
2992
  <div class="method-heading">
2820
2993
  <span class="method-name">properties?</span><span class="method-args">()</span>
@@ -2822,16 +2995,16 @@ ruby_xml_node_prev_q(VALUE self) {
2822
2995
 
2823
2996
  <div class="method-description">
2824
2997
  <p>
2825
- Alias for <a href="Node.html#M000104">attributes?</a>
2998
+ Alias for <a href="Node.html#M000132">attributes?</a>
2826
2999
  </p>
2827
3000
  </div>
2828
3001
  </div>
2829
3002
 
2830
- <div id="method-M000166" class="method-detail">
2831
- <a name="M000166"></a>
3003
+ <div id="method-M000175" class="method-detail">
3004
+ <a name="M000175"></a>
2832
3005
 
2833
3006
  <div class="method-heading">
2834
- <a href="#M000166" class="method-signature">
3007
+ <a href="#M000175" class="method-signature">
2835
3008
  <span class="method-name">node.remove! &rarr; nil<br />
2836
3009
  </span>
2837
3010
  </a>
@@ -2842,8 +3015,8 @@ Alias for <a href="Node.html#M000104">attributes?</a>
2842
3015
  Removes this node from it&#8217;s parent.
2843
3016
  </p>
2844
3017
  <p><a class="source-toggle" href="#"
2845
- onclick="toggleCode('M000166-source');return false;">[Source]</a></p>
2846
- <div class="method-source-code" id="M000166-source">
3018
+ onclick="toggleCode('M000175-source');return false;">[Source]</a></p>
3019
+ <div class="method-source-code" id="M000175-source">
2847
3020
  <pre>
2848
3021
  /*
2849
3022
  * call-seq:
@@ -2859,11 +3032,11 @@ ruby_xml_node_remove_ex(VALUE self) {
2859
3032
  </div>
2860
3033
  </div>
2861
3034
 
2862
- <div id="method-M000168" class="method-detail">
2863
- <a name="M000168"></a>
3035
+ <div id="method-M000177" class="method-detail">
3036
+ <a name="M000177"></a>
2864
3037
 
2865
3038
  <div class="method-heading">
2866
- <a href="#M000168" class="method-signature">
3039
+ <a href="#M000177" class="method-signature">
2867
3040
  <span class="method-name">node.search_href &rarr; namespace<br />
2868
3041
  </span>
2869
3042
  </a>
@@ -2874,8 +3047,8 @@ ruby_xml_node_remove_ex(VALUE self) {
2874
3047
  Search for a namespace by href.
2875
3048
  </p>
2876
3049
  <p><a class="source-toggle" href="#"
2877
- onclick="toggleCode('M000168-source');return false;">[Source]</a></p>
2878
- <div class="method-source-code" id="M000168-source">
3050
+ onclick="toggleCode('M000177-source');return false;">[Source]</a></p>
3051
+ <div class="method-source-code" id="M000177-source">
2879
3052
  <pre>
2880
3053
  /*
2881
3054
  * call-seq:
@@ -2891,11 +3064,11 @@ ruby_xml_node_search_href(VALUE self, VALUE href) {
2891
3064
  </div>
2892
3065
  </div>
2893
3066
 
2894
- <div id="method-M000167" class="method-detail">
2895
- <a name="M000167"></a>
3067
+ <div id="method-M000176" class="method-detail">
3068
+ <a name="M000176"></a>
2896
3069
 
2897
3070
  <div class="method-heading">
2898
- <a href="#M000167" class="method-signature">
3071
+ <a href="#M000176" class="method-signature">
2899
3072
  <span class="method-name">node.search_ns &rarr; namespace<br />
2900
3073
  </span>
2901
3074
  </a>
@@ -2906,8 +3079,8 @@ ruby_xml_node_search_href(VALUE self, VALUE href) {
2906
3079
  Search for a namespace by namespace.
2907
3080
  </p>
2908
3081
  <p><a class="source-toggle" href="#"
2909
- onclick="toggleCode('M000167-source');return false;">[Source]</a></p>
2910
- <div class="method-source-code" id="M000167-source">
3082
+ onclick="toggleCode('M000176-source');return false;">[Source]</a></p>
3083
+ <div class="method-source-code" id="M000176-source">
2911
3084
  <pre>
2912
3085
  /*
2913
3086
  * call-seq:
@@ -2923,12 +3096,12 @@ ruby_xml_node_search_ns(VALUE self, VALUE ns) {
2923
3096
  </div>
2924
3097
  </div>
2925
3098
 
2926
- <div id="method-M000169" class="method-detail">
2927
- <a name="M000169"></a>
3099
+ <div id="method-M000126" class="method-detail">
3100
+ <a name="M000126"></a>
2928
3101
 
2929
3102
  <div class="method-heading">
2930
- <a href="#M000169" class="method-signature">
2931
- <span class="method-name">node.sibling(node) &rarr; node<br />
3103
+ <a href="#M000126" class="method-signature">
3104
+ <span class="method-name">node.sibling(node) &rarr; XML::Node<br />
2932
3105
  </span>
2933
3106
  </a>
2934
3107
  </div>
@@ -2938,12 +3111,12 @@ ruby_xml_node_search_ns(VALUE self, VALUE ns) {
2938
3111
  Add the specified node as a sibling of this node.
2939
3112
  </p>
2940
3113
  <p><a class="source-toggle" href="#"
2941
- onclick="toggleCode('M000169-source');return false;">[Source]</a></p>
2942
- <div class="method-source-code" id="M000169-source">
3114
+ onclick="toggleCode('M000126-source');return false;">[Source]</a></p>
3115
+ <div class="method-source-code" id="M000126-source">
2943
3116
  <pre>
2944
3117
  /*
2945
3118
  * call-seq:
2946
- * node.sibling(node) -&gt; node
3119
+ * node.sibling(node) -&gt; XML::Node
2947
3120
  *
2948
3121
  * Add the specified node as a sibling of this node.
2949
3122
  */
@@ -2955,11 +3128,11 @@ ruby_xml_node_sibling_set(VALUE self, VALUE rnode) {
2955
3128
  </div>
2956
3129
  </div>
2957
3130
 
2958
- <div id="method-M000170" class="method-detail">
2959
- <a name="M000170"></a>
3131
+ <div id="method-M000178" class="method-detail">
3132
+ <a name="M000178"></a>
2960
3133
 
2961
3134
  <div class="method-heading">
2962
- <a href="#M000170" class="method-signature">
3135
+ <a href="#M000178" class="method-signature">
2963
3136
  <span class="method-name">node.space_preserve &rarr; (true|false)<br />
2964
3137
  </span>
2965
3138
  </a>
@@ -2970,8 +3143,8 @@ ruby_xml_node_sibling_set(VALUE self, VALUE rnode) {
2970
3143
  Determine whether this node preserves whitespace.
2971
3144
  </p>
2972
3145
  <p><a class="source-toggle" href="#"
2973
- onclick="toggleCode('M000170-source');return false;">[Source]</a></p>
2974
- <div class="method-source-code" id="M000170-source">
3146
+ onclick="toggleCode('M000178-source');return false;">[Source]</a></p>
3147
+ <div class="method-source-code" id="M000178-source">
2975
3148
  <pre>
2976
3149
  /*
2977
3150
  * call-seq:
@@ -2987,11 +3160,11 @@ ruby_xml_node_space_preserve_get(VALUE self) {
2987
3160
  </div>
2988
3161
  </div>
2989
3162
 
2990
- <div id="method-M000171" class="method-detail">
2991
- <a name="M000171"></a>
3163
+ <div id="method-M000179" class="method-detail">
3164
+ <a name="M000179"></a>
2992
3165
 
2993
3166
  <div class="method-heading">
2994
- <a href="#M000171" class="method-signature">
3167
+ <a href="#M000179" class="method-signature">
2995
3168
  <span class="method-name">node.space_preserve = true|false<br />
2996
3169
  </span>
2997
3170
  </a>
@@ -3002,8 +3175,8 @@ ruby_xml_node_space_preserve_get(VALUE self) {
3002
3175
  Control whether this node preserves whitespace.
3003
3176
  </p>
3004
3177
  <p><a class="source-toggle" href="#"
3005
- onclick="toggleCode('M000171-source');return false;">[Source]</a></p>
3006
- <div class="method-source-code" id="M000171-source">
3178
+ onclick="toggleCode('M000179-source');return false;">[Source]</a></p>
3179
+ <div class="method-source-code" id="M000179-source">
3007
3180
  <pre>
3008
3181
  /*
3009
3182
  * call-seq:
@@ -3019,11 +3192,11 @@ ruby_xml_node_space_preserve_set(VALUE self, VALUE bool) {
3019
3192
  </div>
3020
3193
  </div>
3021
3194
 
3022
- <div id="method-M000172" class="method-detail">
3023
- <a name="M000172"></a>
3195
+ <div id="method-M000180" class="method-detail">
3196
+ <a name="M000180"></a>
3024
3197
 
3025
3198
  <div class="method-heading">
3026
- <a href="#M000172" class="method-signature">
3199
+ <a href="#M000180" class="method-signature">
3027
3200
  <span class="method-name">node.text? &rarr; (true|false)<br />
3028
3201
  </span>
3029
3202
  </a>
@@ -3034,8 +3207,8 @@ ruby_xml_node_space_preserve_set(VALUE self, VALUE bool) {
3034
3207
  Determine whether this node has text.
3035
3208
  </p>
3036
3209
  <p><a class="source-toggle" href="#"
3037
- onclick="toggleCode('M000172-source');return false;">[Source]</a></p>
3038
- <div class="method-source-code" id="M000172-source">
3210
+ onclick="toggleCode('M000180-source');return false;">[Source]</a></p>
3211
+ <div class="method-source-code" id="M000180-source">
3039
3212
  <pre>
3040
3213
  /*
3041
3214
  * call-seq:
@@ -3051,37 +3224,11 @@ ruby_xml_node_text_q(VALUE self) {
3051
3224
  </div>
3052
3225
  </div>
3053
3226
 
3054
- <div id="method-M000185" class="method-detail">
3055
- <a name="M000185"></a>
3056
-
3057
- <div class="method-heading">
3058
- <a href="#M000185" class="method-signature">
3059
- <span class="method-name">to_a</span><span class="method-args">()</span>
3060
- </a>
3061
- </div>
3062
-
3063
- <div class="method-description">
3064
- <p><a class="source-toggle" href="#"
3065
- onclick="toggleCode('M000185-source');return false;">[Source]</a></p>
3066
- <div class="method-source-code" id="M000185-source">
3067
- <pre>
3068
- <span class="ruby-comment cmt"># File lib/libxml.rb, line 94</span>
3069
- 94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
3070
- 95: <span class="ruby-identifier">inject</span>([]) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">ary</span>,<span class="ruby-identifier">n</span><span class="ruby-operator">|</span>
3071
- 96: <span class="ruby-identifier">ary</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">n</span>
3072
- 97: <span class="ruby-identifier">ary</span>
3073
- 98: <span class="ruby-keyword kw">end</span>
3074
- 99: <span class="ruby-keyword kw">end</span>
3075
- </pre>
3076
- </div>
3077
- </div>
3078
- </div>
3079
-
3080
- <div id="method-M000173" class="method-detail">
3081
- <a name="M000173"></a>
3227
+ <div id="method-M000181" class="method-detail">
3228
+ <a name="M000181"></a>
3082
3229
 
3083
3230
  <div class="method-heading">
3084
- <a href="#M000173" class="method-signature">
3231
+ <a href="#M000181" class="method-signature">
3085
3232
  <span class="method-name">node.to_s &rarr; "string"<br />
3086
3233
  </span>
3087
3234
  </a>
@@ -3093,8 +3240,8 @@ Coerce this node to a string representation of it&#8217;s <a
3093
3240
  href="../XML.html">XML</a>.
3094
3241
  </p>
3095
3242
  <p><a class="source-toggle" href="#"
3096
- onclick="toggleCode('M000173-source');return false;">[Source]</a></p>
3097
- <div class="method-source-code" id="M000173-source">
3243
+ onclick="toggleCode('M000181-source');return false;">[Source]</a></p>
3244
+ <div class="method-source-code" id="M000181-source">
3098
3245
  <pre>
3099
3246
  /*
3100
3247
  * call-seq:
@@ -3111,11 +3258,11 @@ ruby_xml_node_to_s(VALUE self) {
3111
3258
  </div>
3112
3259
  </div>
3113
3260
 
3114
- <div id="method-M000174" class="method-detail">
3115
- <a name="M000174"></a>
3261
+ <div id="method-M000182" class="method-detail">
3262
+ <a name="M000182"></a>
3116
3263
 
3117
3264
  <div class="method-heading">
3118
- <a href="#M000174" class="method-signature">
3265
+ <a href="#M000182" class="method-signature">
3119
3266
  <span class="method-name">node.xinclude_end? &rarr; num<br />
3120
3267
  </span>
3121
3268
  </a>
@@ -3126,8 +3273,8 @@ ruby_xml_node_to_s(VALUE self) {
3126
3273
  Determine whether this node is an xinclude end node.
3127
3274
  </p>
3128
3275
  <p><a class="source-toggle" href="#"
3129
- onclick="toggleCode('M000174-source');return false;">[Source]</a></p>
3130
- <div class="method-source-code" id="M000174-source">
3276
+ onclick="toggleCode('M000182-source');return false;">[Source]</a></p>
3277
+ <div class="method-source-code" id="M000182-source">
3131
3278
  <pre>
3132
3279
  /*
3133
3280
  * call-seq:
@@ -3143,11 +3290,11 @@ ruby_xml_node_xinclude_end_q(VALUE self) {
3143
3290
  </div>
3144
3291
  </div>
3145
3292
 
3146
- <div id="method-M000175" class="method-detail">
3147
- <a name="M000175"></a>
3293
+ <div id="method-M000183" class="method-detail">
3294
+ <a name="M000183"></a>
3148
3295
 
3149
3296
  <div class="method-heading">
3150
- <a href="#M000175" class="method-signature">
3297
+ <a href="#M000183" class="method-signature">
3151
3298
  <span class="method-name">node.xinclude_start? &rarr; num<br />
3152
3299
  </span>
3153
3300
  </a>
@@ -3158,8 +3305,8 @@ ruby_xml_node_xinclude_end_q(VALUE self) {
3158
3305
  Determine whether this node is an xinclude start node.
3159
3306
  </p>
3160
3307
  <p><a class="source-toggle" href="#"
3161
- onclick="toggleCode('M000175-source');return false;">[Source]</a></p>
3162
- <div class="method-source-code" id="M000175-source">
3308
+ onclick="toggleCode('M000183-source');return false;">[Source]</a></p>
3309
+ <div class="method-source-code" id="M000183-source">
3163
3310
  <pre>
3164
3311
  /*
3165
3312
  * call-seq:
@@ -3175,11 +3322,11 @@ ruby_xml_node_xinclude_start_q(VALUE self) {
3175
3322
  </div>
3176
3323
  </div>
3177
3324
 
3178
- <div id="method-M000176" class="method-detail">
3179
- <a name="M000176"></a>
3325
+ <div id="method-M000184" class="method-detail">
3326
+ <a name="M000184"></a>
3180
3327
 
3181
3328
  <div class="method-heading">
3182
- <a href="#M000176" class="method-signature">
3329
+ <a href="#M000184" class="method-signature">
3183
3330
  <span class="method-name">node.xlink? &rarr; (true|false)<br />
3184
3331
  </span>
3185
3332
  </a>
@@ -3190,8 +3337,8 @@ ruby_xml_node_xinclude_start_q(VALUE self) {
3190
3337
  Determine whether this node is an xlink node.
3191
3338
  </p>
3192
3339
  <p><a class="source-toggle" href="#"
3193
- onclick="toggleCode('M000176-source');return false;">[Source]</a></p>
3194
- <div class="method-source-code" id="M000176-source">
3340
+ onclick="toggleCode('M000184-source');return false;">[Source]</a></p>
3341
+ <div class="method-source-code" id="M000184-source">
3195
3342
  <pre>
3196
3343
  /*
3197
3344
  * call-seq:
@@ -3207,11 +3354,11 @@ ruby_xml_node_xlink_q(VALUE self) {
3207
3354
  </div>
3208
3355
  </div>
3209
3356
 
3210
- <div id="method-M000177" class="method-detail">
3211
- <a name="M000177"></a>
3357
+ <div id="method-M000185" class="method-detail">
3358
+ <a name="M000185"></a>
3212
3359
 
3213
3360
  <div class="method-heading">
3214
- <a href="#M000177" class="method-signature">
3361
+ <a href="#M000185" class="method-signature">
3215
3362
  <span class="method-name">node.xlink_type &rarr; num<br />
3216
3363
  </span>
3217
3364
  </a>
@@ -3223,8 +3370,8 @@ Obtain the type identifier for this xlink, if applicable. If this is not an
3223
3370
  xlink node (see +xlink?+), will return nil.
3224
3371
  </p>
3225
3372
  <p><a class="source-toggle" href="#"
3226
- onclick="toggleCode('M000177-source');return false;">[Source]</a></p>
3227
- <div class="method-source-code" id="M000177-source">
3373
+ onclick="toggleCode('M000185-source');return false;">[Source]</a></p>
3374
+ <div class="method-source-code" id="M000185-source">
3228
3375
  <pre>
3229
3376
  /*
3230
3377
  * call-seq:
@@ -3242,11 +3389,11 @@ ruby_xml_node_xlink_type(VALUE self) {
3242
3389
  </div>
3243
3390
  </div>
3244
3391
 
3245
- <div id="method-M000178" class="method-detail">
3246
- <a name="M000178"></a>
3392
+ <div id="method-M000186" class="method-detail">
3393
+ <a name="M000186"></a>
3247
3394
 
3248
3395
  <div class="method-heading">
3249
- <a href="#M000178" class="method-signature">
3396
+ <a href="#M000186" class="method-signature">
3250
3397
  <span class="method-name">node.xlink_type_name &rarr; "string"<br />
3251
3398
  </span>
3252
3399
  </a>
@@ -3258,8 +3405,8 @@ Obtain the type name for this xlink, if applicable. If this is not an xlink
3258
3405
  node (see +xlink?+), will return nil.
3259
3406
  </p>
3260
3407
  <p><a class="source-toggle" href="#"
3261
- onclick="toggleCode('M000178-source');return false;">[Source]</a></p>
3262
- <div class="method-source-code" id="M000178-source">
3408
+ onclick="toggleCode('M000186-source');return false;">[Source]</a></p>
3409
+ <div class="method-source-code" id="M000186-source">
3263
3410
  <pre>
3264
3411
  /*
3265
3412
  * call-seq: