libxml-ruby 0.8.0-x86-mswin32-60 → 0.8.1-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/CHANGES +8 -1
  2. data/README +2 -2
  3. data/benchmark/xml_benchmarks.rb +6 -1
  4. data/doc/{classes → rdoc/classes}/LibXML/XML/Attr.html +159 -159
  5. data/doc/{classes → rdoc/classes}/LibXML/XML/Attributes.html +56 -90
  6. data/doc/{classes → rdoc/classes}/LibXML/XML/Document.html +219 -219
  7. data/doc/{classes → rdoc/classes}/LibXML/XML/Dtd.html +6 -6
  8. data/doc/{classes → rdoc/classes}/LibXML/XML/Error.html +0 -0
  9. data/doc/{classes → rdoc/classes}/LibXML/XML/HTMLParser.html +36 -36
  10. data/doc/{classes → rdoc/classes}/LibXML/XML/InputCallbacks.html +6 -6
  11. data/doc/{classes → rdoc/classes}/LibXML/XML/NS.html +42 -42
  12. data/doc/{classes → rdoc/classes}/LibXML/XML/Node/FailedModify.html +0 -0
  13. data/doc/{classes → rdoc/classes}/LibXML/XML/Node/Set.html +54 -54
  14. data/doc/{classes → rdoc/classes}/LibXML/XML/Node/SetNamespace.html +0 -0
  15. data/doc/{classes → rdoc/classes}/LibXML/XML/Node/UnknownType.html +0 -0
  16. data/doc/{classes → rdoc/classes}/LibXML/XML/Node.html +728 -812
  17. data/doc/{classes → rdoc/classes}/LibXML/XML/Parser/Context.html +0 -0
  18. data/doc/{classes → rdoc/classes}/LibXML/XML/Parser/ParseError.html +0 -0
  19. data/doc/{classes → rdoc/classes}/LibXML/XML/Parser.html +0 -0
  20. data/doc/{classes → rdoc/classes}/LibXML/XML/Reader.html +282 -282
  21. data/doc/{classes → rdoc/classes}/LibXML/XML/SaxParser.html +48 -48
  22. data/doc/{classes → rdoc/classes}/LibXML/XML/Schema.html +18 -18
  23. data/doc/{classes → rdoc/classes}/LibXML/XML/State.html +0 -0
  24. data/doc/{classes → rdoc/classes}/LibXML/XML/Tree.html +0 -0
  25. data/doc/{classes → rdoc/classes}/LibXML/XML/XInclude/Error.html +0 -0
  26. data/doc/{classes → rdoc/classes}/LibXML/XML/XInclude.html +0 -0
  27. data/doc/{classes → rdoc/classes}/LibXML/XML/XMLParserOptions.html +0 -0
  28. data/doc/{classes → rdoc/classes}/LibXML/XML/XPath/Context.html +2 -2
  29. data/doc/{classes → rdoc/classes}/LibXML/XML/XPath/InvalidPath.html +0 -0
  30. data/doc/{classes → rdoc/classes}/LibXML/XML/XPath/Object.html +0 -0
  31. data/doc/{classes → rdoc/classes}/LibXML/XML/XPath.html +2 -2
  32. data/doc/{classes → rdoc/classes}/LibXML/XML/XPointer/Context/InvalidPath.html +0 -0
  33. data/doc/{classes → rdoc/classes}/LibXML/XML/XPointer/Context.html +0 -0
  34. data/doc/{classes → rdoc/classes}/LibXML/XML/XPointer/InvalidExpression.html +0 -0
  35. data/doc/{classes → rdoc/classes}/LibXML/XML/XPointer.html +6 -6
  36. data/doc/{classes → rdoc/classes}/LibXML/XML.html +0 -0
  37. data/doc/{classes → rdoc/classes}/LibXML.html +0 -0
  38. data/doc/{classes → rdoc/classes}/XML.html +0 -0
  39. data/doc/{classes → rdoc/classes}/singleton.html +0 -0
  40. data/doc/rdoc/created.rid +1 -0
  41. data/doc/{files → rdoc/files}/CHANGES.html +11 -2
  42. data/doc/{files → rdoc/files}/LICENSE.html +0 -0
  43. data/doc/{files → rdoc/files}/README.html +2 -2
  44. data/doc/{files → rdoc/files}/VERSION.html +0 -0
  45. data/doc/{files → rdoc/files}/ext/libxml/cbg_c.html +0 -0
  46. data/doc/{files → rdoc/files}/ext/libxml/libxml_c.html +0 -0
  47. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_attr_c.html +0 -0
  48. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_attributes_c.html +0 -0
  49. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_document_c.html +0 -0
  50. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_dtd_c.html +0 -0
  51. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_html_parser_c.html +0 -0
  52. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_input_cbg_c.html +0 -0
  53. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_node_c.html +1 -1
  54. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_node_set_c.html +0 -0
  55. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_ns_c.html +0 -0
  56. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_parser_c.html +0 -0
  57. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_parser_context_c.html +0 -0
  58. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_reader_c.html +0 -0
  59. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_sax_parser_c.html +0 -0
  60. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_schema_c.html +0 -0
  61. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_state_c.html +0 -0
  62. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xinclude_c.html +0 -0
  63. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xpath_c.html +0 -0
  64. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xpath_context_c.html +0 -0
  65. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xpath_object_c.html +0 -0
  66. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xpointer_c.html +0 -0
  67. data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xpointer_context_c.html +0 -0
  68. data/doc/{files → rdoc/files}/lib/libxml/attr_rb.html +0 -0
  69. data/doc/{files → rdoc/files}/lib/libxml/attributes_rb.html +0 -0
  70. data/doc/{files → rdoc/files}/lib/libxml/document_rb.html +0 -0
  71. data/doc/{files → rdoc/files}/lib/libxml/node_rb.html +1 -1
  72. data/doc/{files → rdoc/files}/lib/libxml/node_set_rb.html +0 -0
  73. data/doc/{files → rdoc/files}/lib/libxml/parser_options_rb.html +0 -0
  74. data/doc/{files → rdoc/files}/lib/libxml/parser_rb.html +0 -0
  75. data/doc/{files → rdoc/files}/lib/libxml/properties_rb.html +1 -1
  76. data/doc/{files → rdoc/files}/lib/libxml/tree_rb.html +0 -0
  77. data/doc/{files → rdoc/files}/lib/libxml_rb.html +0 -0
  78. data/doc/{files → rdoc/files}/lib/xml/libxml_rb.html +0 -0
  79. data/doc/{fr_class_index.html → rdoc/fr_class_index.html} +0 -0
  80. data/doc/{fr_file_index.html → rdoc/fr_file_index.html} +0 -0
  81. data/doc/{fr_method_index.html → rdoc/fr_method_index.html} +233 -234
  82. data/doc/{index.html → rdoc/index.html} +2 -2
  83. data/doc/{rdoc-style.css → rdoc/rdoc-style.css} +0 -0
  84. data/ext/libxml/extconf.rb +75 -117
  85. data/ext/libxml/ruby_xml_node.c +14 -401
  86. data/ext/libxml/version.h +2 -2
  87. data/lib/libxml/node.rb +159 -27
  88. data/lib/libxml/properties.rb +2 -8
  89. data/lib/libxml_ruby.so +0 -0
  90. data/mingw/libxml_ruby.so +0 -0
  91. data/test/tc_xml_attributes.rb +9 -0
  92. metadata +98 -97
  93. data/doc/created.rid +0 -1
@@ -115,42 +115,42 @@ Writing:
115
115
  <h3 class="section-bar">Methods</h3>
116
116
 
117
117
  <div class="name-list">
118
- <a href="#M000323">child</a>&nbsp;&nbsp;
119
- <a href="#M000324">child?</a>&nbsp;&nbsp;
120
- <a href="#M000325">compression</a>&nbsp;&nbsp;
121
- <a href="#M000326">compression=</a>&nbsp;&nbsp;
122
- <a href="#M000327">compression?</a>&nbsp;&nbsp;
123
- <a href="#M000329">debug_dump</a>&nbsp;&nbsp;
124
- <a href="#M000330">debug_dump_head</a>&nbsp;&nbsp;
125
- <a href="#M000331">debug_format_dump</a>&nbsp;&nbsp;
126
- <a href="#M000328">dump</a>&nbsp;&nbsp;
127
- <a href="#M000332">encoding</a>&nbsp;&nbsp;
128
- <a href="#M000333">encoding=</a>&nbsp;&nbsp;
129
- <a href="#M000321">file</a>&nbsp;&nbsp;
130
- <a href="#M000334">filename</a>&nbsp;&nbsp;
131
- <a href="#M000355">find</a>&nbsp;&nbsp;
132
- <a href="#M000356">find_first</a>&nbsp;&nbsp;
133
- <a href="#M000335">format_dump</a>&nbsp;&nbsp;
134
- <a href="#M000336">last</a>&nbsp;&nbsp;
135
- <a href="#M000337">last?</a>&nbsp;&nbsp;
136
- <a href="#M000322">new</a>&nbsp;&nbsp;
137
- <a href="#M000338">next</a>&nbsp;&nbsp;
138
- <a href="#M000339">next?</a>&nbsp;&nbsp;
139
- <a href="#M000340">parent</a>&nbsp;&nbsp;
140
- <a href="#M000341">parent?</a>&nbsp;&nbsp;
141
- <a href="#M000342">prev</a>&nbsp;&nbsp;
142
- <a href="#M000343">prev?</a>&nbsp;&nbsp;
143
- <a href="#M000354">reader</a>&nbsp;&nbsp;
144
- <a href="#M000344">root</a>&nbsp;&nbsp;
145
- <a href="#M000345">root=</a>&nbsp;&nbsp;
146
- <a href="#M000346">save</a>&nbsp;&nbsp;
147
- <a href="#M000347">standalone?</a>&nbsp;&nbsp;
148
- <a href="#M000348">to_s</a>&nbsp;&nbsp;
149
- <a href="#M000349">url</a>&nbsp;&nbsp;
150
- <a href="#M000352">validate</a>&nbsp;&nbsp;
151
- <a href="#M000353">validate_schema</a>&nbsp;&nbsp;
152
- <a href="#M000350">version</a>&nbsp;&nbsp;
153
- <a href="#M000351">xinclude</a>&nbsp;&nbsp;
118
+ <a href="#M000322">child</a>&nbsp;&nbsp;
119
+ <a href="#M000323">child?</a>&nbsp;&nbsp;
120
+ <a href="#M000324">compression</a>&nbsp;&nbsp;
121
+ <a href="#M000325">compression=</a>&nbsp;&nbsp;
122
+ <a href="#M000326">compression?</a>&nbsp;&nbsp;
123
+ <a href="#M000328">debug_dump</a>&nbsp;&nbsp;
124
+ <a href="#M000329">debug_dump_head</a>&nbsp;&nbsp;
125
+ <a href="#M000330">debug_format_dump</a>&nbsp;&nbsp;
126
+ <a href="#M000327">dump</a>&nbsp;&nbsp;
127
+ <a href="#M000331">encoding</a>&nbsp;&nbsp;
128
+ <a href="#M000332">encoding=</a>&nbsp;&nbsp;
129
+ <a href="#M000320">file</a>&nbsp;&nbsp;
130
+ <a href="#M000333">filename</a>&nbsp;&nbsp;
131
+ <a href="#M000354">find</a>&nbsp;&nbsp;
132
+ <a href="#M000355">find_first</a>&nbsp;&nbsp;
133
+ <a href="#M000334">format_dump</a>&nbsp;&nbsp;
134
+ <a href="#M000335">last</a>&nbsp;&nbsp;
135
+ <a href="#M000336">last?</a>&nbsp;&nbsp;
136
+ <a href="#M000321">new</a>&nbsp;&nbsp;
137
+ <a href="#M000337">next</a>&nbsp;&nbsp;
138
+ <a href="#M000338">next?</a>&nbsp;&nbsp;
139
+ <a href="#M000339">parent</a>&nbsp;&nbsp;
140
+ <a href="#M000340">parent?</a>&nbsp;&nbsp;
141
+ <a href="#M000341">prev</a>&nbsp;&nbsp;
142
+ <a href="#M000342">prev?</a>&nbsp;&nbsp;
143
+ <a href="#M000353">reader</a>&nbsp;&nbsp;
144
+ <a href="#M000343">root</a>&nbsp;&nbsp;
145
+ <a href="#M000344">root=</a>&nbsp;&nbsp;
146
+ <a href="#M000345">save</a>&nbsp;&nbsp;
147
+ <a href="#M000346">standalone?</a>&nbsp;&nbsp;
148
+ <a href="#M000347">to_s</a>&nbsp;&nbsp;
149
+ <a href="#M000348">url</a>&nbsp;&nbsp;
150
+ <a href="#M000351">validate</a>&nbsp;&nbsp;
151
+ <a href="#M000352">validate_schema</a>&nbsp;&nbsp;
152
+ <a href="#M000349">version</a>&nbsp;&nbsp;
153
+ <a href="#M000350">xinclude</a>&nbsp;&nbsp;
154
154
  </div>
155
155
  </div>
156
156
 
@@ -172,11 +172,11 @@ Writing:
172
172
  <div id="methods">
173
173
  <h3 class="section-bar">Public Class methods</h3>
174
174
 
175
- <div id="method-M000321" class="method-detail">
176
- <a name="M000321"></a>
175
+ <div id="method-M000320" class="method-detail">
176
+ <a name="M000320"></a>
177
177
 
178
178
  <div class="method-heading">
179
- <a href="#M000321" class="method-signature">
179
+ <a href="#M000320" class="method-signature">
180
180
  <span class="method-name">XML::Document.file(filename) &rarr; document<br />
181
181
  </span>
182
182
  </a>
@@ -188,8 +188,8 @@ Create a new <a href="Document.html">XML::Document</a> by parsing the
188
188
  specified file.
189
189
  </p>
190
190
  <p><a class="source-toggle" href="#"
191
- onclick="toggleCode('M000321-source');return false;">[Source]</a></p>
192
- <div class="method-source-code" id="M000321-source">
191
+ onclick="toggleCode('M000320-source');return false;">[Source]</a></p>
192
+ <div class="method-source-code" id="M000320-source">
193
193
  <pre>
194
194
  /*
195
195
  * call-seq:
@@ -206,11 +206,11 @@ ruby_xml_document_new_file(VALUE class, VALUE filename) {
206
206
  </div>
207
207
  </div>
208
208
 
209
- <div id="method-M000322" class="method-detail">
210
- <a name="M000322"></a>
209
+ <div id="method-M000321" class="method-detail">
210
+ <a name="M000321"></a>
211
211
 
212
212
  <div class="method-heading">
213
- <a href="#M000322" class="method-signature">
213
+ <a href="#M000321" class="method-signature">
214
214
  <span class="method-name">XML::Document.new(xml_version = 1.0) &rarr; document<br />
215
215
  </span>
216
216
  </a>
@@ -222,8 +222,8 @@ Create a new <a href="Document.html">XML::Document</a>, optionally
222
222
  specifying the <a href="../XML.html">XML</a> version.
223
223
  </p>
224
224
  <p><a class="source-toggle" href="#"
225
- onclick="toggleCode('M000322-source');return false;">[Source]</a></p>
226
- <div class="method-source-code" id="M000322-source">
225
+ onclick="toggleCode('M000321-source');return false;">[Source]</a></p>
226
+ <div class="method-source-code" id="M000321-source">
227
227
  <pre>
228
228
  /*
229
229
  * call-seq:
@@ -242,11 +242,11 @@ ruby_xml_document_new(int argc, VALUE *argv, VALUE class) {
242
242
 
243
243
  <h3 class="section-bar">Public Instance methods</h3>
244
244
 
245
- <div id="method-M000323" class="method-detail">
246
- <a name="M000323"></a>
245
+ <div id="method-M000322" class="method-detail">
246
+ <a name="M000322"></a>
247
247
 
248
248
  <div class="method-heading">
249
- <a href="#M000323" class="method-signature">
249
+ <a href="#M000322" class="method-signature">
250
250
  <span class="method-name">document.child &rarr; node<br />
251
251
  </span>
252
252
  </a>
@@ -257,8 +257,8 @@ ruby_xml_document_new(int argc, VALUE *argv, VALUE class) {
257
257
  Get this document&#8217;s child node.
258
258
  </p>
259
259
  <p><a class="source-toggle" href="#"
260
- onclick="toggleCode('M000323-source');return false;">[Source]</a></p>
261
- <div class="method-source-code" id="M000323-source">
260
+ onclick="toggleCode('M000322-source');return false;">[Source]</a></p>
261
+ <div class="method-source-code" id="M000322-source">
262
262
  <pre>
263
263
  /*
264
264
  * call-seq:
@@ -274,11 +274,11 @@ ruby_xml_document_child_get(VALUE self) {
274
274
  </div>
275
275
  </div>
276
276
 
277
- <div id="method-M000324" class="method-detail">
278
- <a name="M000324"></a>
277
+ <div id="method-M000323" class="method-detail">
278
+ <a name="M000323"></a>
279
279
 
280
280
  <div class="method-heading">
281
- <a href="#M000324" class="method-signature">
281
+ <a href="#M000323" class="method-signature">
282
282
  <span class="method-name">document.child? &rarr; (true|false)<br />
283
283
  </span>
284
284
  </a>
@@ -289,8 +289,8 @@ ruby_xml_document_child_get(VALUE self) {
289
289
  Determine whether this document has a child node.
290
290
  </p>
291
291
  <p><a class="source-toggle" href="#"
292
- onclick="toggleCode('M000324-source');return false;">[Source]</a></p>
293
- <div class="method-source-code" id="M000324-source">
292
+ onclick="toggleCode('M000323-source');return false;">[Source]</a></p>
293
+ <div class="method-source-code" id="M000323-source">
294
294
  <pre>
295
295
  /*
296
296
  * call-seq:
@@ -306,11 +306,11 @@ ruby_xml_document_child_q(VALUE self) {
306
306
  </div>
307
307
  </div>
308
308
 
309
- <div id="method-M000325" class="method-detail">
310
- <a name="M000325"></a>
309
+ <div id="method-M000324" class="method-detail">
310
+ <a name="M000324"></a>
311
311
 
312
312
  <div class="method-heading">
313
- <a href="#M000325" class="method-signature">
313
+ <a href="#M000324" class="method-signature">
314
314
  <span class="method-name">document.compression &rarr; num<br />
315
315
  </span>
316
316
  </a>
@@ -321,8 +321,8 @@ ruby_xml_document_child_q(VALUE self) {
321
321
  Obtain this document&#8217;s compression mode identifier.
322
322
  </p>
323
323
  <p><a class="source-toggle" href="#"
324
- onclick="toggleCode('M000325-source');return false;">[Source]</a></p>
325
- <div class="method-source-code" id="M000325-source">
324
+ onclick="toggleCode('M000324-source');return false;">[Source]</a></p>
325
+ <div class="method-source-code" id="M000324-source">
326
326
  <pre>
327
327
  /*
328
328
  * call-seq:
@@ -338,11 +338,11 @@ ruby_xml_document_compression_get(VALUE self) {
338
338
  </div>
339
339
  </div>
340
340
 
341
- <div id="method-M000326" class="method-detail">
342
- <a name="M000326"></a>
341
+ <div id="method-M000325" class="method-detail">
342
+ <a name="M000325"></a>
343
343
 
344
344
  <div class="method-heading">
345
- <a href="#M000326" class="method-signature">
345
+ <a href="#M000325" class="method-signature">
346
346
  <span class="method-name">document.compression = num<br />
347
347
  </span>
348
348
  </a>
@@ -353,8 +353,8 @@ ruby_xml_document_compression_get(VALUE self) {
353
353
  Set this document&#8217;s compression mode.
354
354
  </p>
355
355
  <p><a class="source-toggle" href="#"
356
- onclick="toggleCode('M000326-source');return false;">[Source]</a></p>
357
- <div class="method-source-code" id="M000326-source">
356
+ onclick="toggleCode('M000325-source');return false;">[Source]</a></p>
357
+ <div class="method-source-code" id="M000325-source">
358
358
  <pre>
359
359
  /*
360
360
  * call-seq:
@@ -370,11 +370,11 @@ ruby_xml_document_compression_set(VALUE self, VALUE num) {
370
370
  </div>
371
371
  </div>
372
372
 
373
- <div id="method-M000327" class="method-detail">
374
- <a name="M000327"></a>
373
+ <div id="method-M000326" class="method-detail">
374
+ <a name="M000326"></a>
375
375
 
376
376
  <div class="method-heading">
377
- <a href="#M000327" class="method-signature">
377
+ <a href="#M000326" class="method-signature">
378
378
  <span class="method-name">document.compression? &rarr; (true|false)<br />
379
379
  </span>
380
380
  </a>
@@ -385,8 +385,8 @@ ruby_xml_document_compression_set(VALUE self, VALUE num) {
385
385
  Determine whether this document is compressed.
386
386
  </p>
387
387
  <p><a class="source-toggle" href="#"
388
- onclick="toggleCode('M000327-source');return false;">[Source]</a></p>
389
- <div class="method-source-code" id="M000327-source">
388
+ onclick="toggleCode('M000326-source');return false;">[Source]</a></p>
389
+ <div class="method-source-code" id="M000326-source">
390
390
  <pre>
391
391
  /*
392
392
  * call-seq:
@@ -402,11 +402,11 @@ ruby_xml_document_compression_q(VALUE self) {
402
402
  </div>
403
403
  </div>
404
404
 
405
- <div id="method-M000329" class="method-detail">
406
- <a name="M000329"></a>
405
+ <div id="method-M000328" class="method-detail">
406
+ <a name="M000328"></a>
407
407
 
408
408
  <div class="method-heading">
409
- <a href="#M000329" class="method-signature">
409
+ <a href="#M000328" class="method-signature">
410
410
  <span class="method-name">document.debug_dump([stream]) &rarr; true<br />
411
411
  </span>
412
412
  </a>
@@ -417,8 +417,8 @@ ruby_xml_document_compression_q(VALUE self) {
417
417
  Debug version of dump.
418
418
  </p>
419
419
  <p><a class="source-toggle" href="#"
420
- onclick="toggleCode('M000329-source');return false;">[Source]</a></p>
421
- <div class="method-source-code" id="M000329-source">
420
+ onclick="toggleCode('M000328-source');return false;">[Source]</a></p>
421
+ <div class="method-source-code" id="M000328-source">
422
422
  <pre>
423
423
  /*
424
424
  * call-seq:
@@ -434,11 +434,11 @@ ruby_xml_document_debug_dump(int argc, VALUE *argv, VALUE self) {
434
434
  </div>
435
435
  </div>
436
436
 
437
- <div id="method-M000330" class="method-detail">
438
- <a name="M000330"></a>
437
+ <div id="method-M000329" class="method-detail">
438
+ <a name="M000329"></a>
439
439
 
440
440
  <div class="method-heading">
441
- <a href="#M000330" class="method-signature">
441
+ <a href="#M000329" class="method-signature">
442
442
  <span class="method-name">document.debug_dump_head([stream]) &rarr; true<br />
443
443
  </span>
444
444
  </a>
@@ -450,8 +450,8 @@ Debug-dump this document&#8217;s header to the specified IO stream. If no
450
450
  stream is specified, stdout is used.
451
451
  </p>
452
452
  <p><a class="source-toggle" href="#"
453
- onclick="toggleCode('M000330-source');return false;">[Source]</a></p>
454
- <div class="method-source-code" id="M000330-source">
453
+ onclick="toggleCode('M000329-source');return false;">[Source]</a></p>
454
+ <div class="method-source-code" id="M000329-source">
455
455
  <pre>
456
456
  /*
457
457
  * call-seq:
@@ -468,11 +468,11 @@ ruby_xml_document_debug_dump_head(int argc, VALUE *argv, VALUE self) {
468
468
  </div>
469
469
  </div>
470
470
 
471
- <div id="method-M000331" class="method-detail">
472
- <a name="M000331"></a>
471
+ <div id="method-M000330" class="method-detail">
472
+ <a name="M000330"></a>
473
473
 
474
474
  <div class="method-heading">
475
- <a href="#M000331" class="method-signature">
475
+ <a href="#M000330" class="method-signature">
476
476
  <span class="method-name">document.debug_format_dump([stream]) &rarr; true<br />
477
477
  </span>
478
478
  </a>
@@ -481,11 +481,11 @@ ruby_xml_document_debug_dump_head(int argc, VALUE *argv, VALUE self) {
481
481
  <div class="method-description">
482
482
  <p>
483
483
  <b>Deprecated</b> in favour of <a
484
- href="Document.html#M000335">format_dump</a>.
484
+ href="Document.html#M000334">format_dump</a>.
485
485
  </p>
486
486
  <p><a class="source-toggle" href="#"
487
- onclick="toggleCode('M000331-source');return false;">[Source]</a></p>
488
- <div class="method-source-code" id="M000331-source">
487
+ onclick="toggleCode('M000330-source');return false;">[Source]</a></p>
488
+ <div class="method-source-code" id="M000330-source">
489
489
  <pre>
490
490
  /*
491
491
  * call-seq:
@@ -501,11 +501,11 @@ ruby_xml_document_debug_format_dump(int argc, VALUE *argv, VALUE self) {
501
501
  </div>
502
502
  </div>
503
503
 
504
- <div id="method-M000328" class="method-detail">
505
- <a name="M000328"></a>
504
+ <div id="method-M000327" class="method-detail">
505
+ <a name="M000327"></a>
506
506
 
507
507
  <div class="method-heading">
508
- <a href="#M000328" class="method-signature">
508
+ <a href="#M000327" class="method-signature">
509
509
  <span class="method-name">document.dump([stream]) &rarr; true<br />
510
510
  </span>
511
511
  </a>
@@ -517,8 +517,8 @@ Dump this document&#8217;s <a href="../XML.html">XML</a> to the specified
517
517
  IO stream. If no stream is specified, stdout is used.
518
518
  </p>
519
519
  <p><a class="source-toggle" href="#"
520
- onclick="toggleCode('M000328-source');return false;">[Source]</a></p>
521
- <div class="method-source-code" id="M000328-source">
520
+ onclick="toggleCode('M000327-source');return false;">[Source]</a></p>
521
+ <div class="method-source-code" id="M000327-source">
522
522
  <pre>
523
523
  /*
524
524
  * call-seq:
@@ -535,11 +535,11 @@ ruby_xml_document_dump(int argc, VALUE *argv, VALUE self) {
535
535
  </div>
536
536
  </div>
537
537
 
538
- <div id="method-M000332" class="method-detail">
539
- <a name="M000332"></a>
538
+ <div id="method-M000331" class="method-detail">
539
+ <a name="M000331"></a>
540
540
 
541
541
  <div class="method-heading">
542
- <a href="#M000332" class="method-signature">
542
+ <a href="#M000331" class="method-signature">
543
543
  <span class="method-name">document.encoding &rarr; "encoding"<br />
544
544
  </span>
545
545
  </a>
@@ -550,8 +550,8 @@ ruby_xml_document_dump(int argc, VALUE *argv, VALUE self) {
550
550
  Obtain the encoding specified by this document.
551
551
  </p>
552
552
  <p><a class="source-toggle" href="#"
553
- onclick="toggleCode('M000332-source');return false;">[Source]</a></p>
554
- <div class="method-source-code" id="M000332-source">
553
+ onclick="toggleCode('M000331-source');return false;">[Source]</a></p>
554
+ <div class="method-source-code" id="M000331-source">
555
555
  <pre>
556
556
  /*
557
557
  * call-seq:
@@ -567,11 +567,11 @@ ruby_xml_document_encoding_get(VALUE self) {
567
567
  </div>
568
568
  </div>
569
569
 
570
- <div id="method-M000333" class="method-detail">
571
- <a name="M000333"></a>
570
+ <div id="method-M000332" class="method-detail">
571
+ <a name="M000332"></a>
572
572
 
573
573
  <div class="method-heading">
574
- <a href="#M000333" class="method-signature">
574
+ <a href="#M000332" class="method-signature">
575
575
  <span class="method-name">document.encoding = "encoding"<br />
576
576
  </span>
577
577
  </a>
@@ -582,8 +582,8 @@ ruby_xml_document_encoding_get(VALUE self) {
582
582
  Set the encoding for this document.
583
583
  </p>
584
584
  <p><a class="source-toggle" href="#"
585
- onclick="toggleCode('M000333-source');return false;">[Source]</a></p>
586
- <div class="method-source-code" id="M000333-source">
585
+ onclick="toggleCode('M000332-source');return false;">[Source]</a></p>
586
+ <div class="method-source-code" id="M000332-source">
587
587
  <pre>
588
588
  /*
589
589
  * call-seq:
@@ -599,11 +599,11 @@ ruby_xml_document_encoding_set(VALUE self, VALUE encoding) {
599
599
  </div>
600
600
  </div>
601
601
 
602
- <div id="method-M000334" class="method-detail">
603
- <a name="M000334"></a>
602
+ <div id="method-M000333" class="method-detail">
603
+ <a name="M000333"></a>
604
604
 
605
605
  <div class="method-heading">
606
- <a href="#M000334" class="method-signature">
606
+ <a href="#M000333" class="method-signature">
607
607
  <span class="method-name">document.filename &rarr; "filename"<br />
608
608
  </span>
609
609
  </a>
@@ -614,8 +614,8 @@ ruby_xml_document_encoding_set(VALUE self, VALUE encoding) {
614
614
  Obtain the filename this document was read from.
615
615
  </p>
616
616
  <p><a class="source-toggle" href="#"
617
- onclick="toggleCode('M000334-source');return false;">[Source]</a></p>
618
- <div class="method-source-code" id="M000334-source">
617
+ onclick="toggleCode('M000333-source');return false;">[Source]</a></p>
618
+ <div class="method-source-code" id="M000333-source">
619
619
  <pre>
620
620
  /*
621
621
  * call-seq:
@@ -631,11 +631,11 @@ ruby_xml_document_filename_get(VALUE self) {
631
631
  </div>
632
632
  </div>
633
633
 
634
- <div id="method-M000355" class="method-detail">
635
- <a name="M000355"></a>
634
+ <div id="method-M000354" class="method-detail">
635
+ <a name="M000354"></a>
636
636
 
637
637
  <div class="method-heading">
638
- <a href="#M000355" class="method-signature">
638
+ <a href="#M000354" class="method-signature">
639
639
  <span class="method-name">find</span><span class="method-args">(xpath, nslist = nil)</span>
640
640
  </a>
641
641
  </div>
@@ -686,8 +686,8 @@ which will cause a segmentation fault. To avoid this, use the following
686
686
  GC.start
687
687
  </pre>
688
688
  <p><a class="source-toggle" href="#"
689
- onclick="toggleCode('M000355-source');return false;">[Source]</a></p>
690
- <div class="method-source-code" id="M000355-source">
689
+ onclick="toggleCode('M000354-source');return false;">[Source]</a></p>
690
+ <div class="method-source-code" id="M000354-source">
691
691
  <pre>
692
692
  <span class="ruby-comment cmt"># File lib/libxml/document.rb, line 37</span>
693
693
  37: <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>)
@@ -703,11 +703,11 @@ which will cause a segmentation fault. To avoid this, use the following
703
703
  </div>
704
704
  </div>
705
705
 
706
- <div id="method-M000356" class="method-detail">
707
- <a name="M000356"></a>
706
+ <div id="method-M000355" class="method-detail">
707
+ <a name="M000355"></a>
708
708
 
709
709
  <div class="method-heading">
710
- <a href="#M000356" class="method-signature">
710
+ <a href="#M000355" class="method-signature">
711
711
  <span class="method-name">find_first</span><span class="method-args">(xpath, nslist = nil)</span>
712
712
  </a>
713
713
  </div>
@@ -716,11 +716,11 @@ which will cause a segmentation fault. To avoid this, use the following
716
716
  <p>
717
717
  Return the first node matching the specified xpath expression. For more
718
718
  information, please refer to the documentation for <a
719
- href="Document.html#M000355">XML::Document#find</a>.
719
+ href="Document.html#M000354">XML::Document#find</a>.
720
720
  </p>
721
721
  <p><a class="source-toggle" href="#"
722
- onclick="toggleCode('M000356-source');return false;">[Source]</a></p>
723
- <div class="method-source-code" id="M000356-source">
722
+ onclick="toggleCode('M000355-source');return false;">[Source]</a></p>
723
+ <div class="method-source-code" id="M000355-source">
724
724
  <pre>
725
725
  <span class="ruby-comment cmt"># File lib/libxml/document.rb, line 49</span>
726
726
  49: <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>)
@@ -731,11 +731,11 @@ href="Document.html#M000355">XML::Document#find</a>.
731
731
  </div>
732
732
  </div>
733
733
 
734
- <div id="method-M000335" class="method-detail">
735
- <a name="M000335"></a>
734
+ <div id="method-M000334" class="method-detail">
735
+ <a name="M000334"></a>
736
736
 
737
737
  <div class="method-heading">
738
- <a href="#M000335" class="method-signature">
738
+ <a href="#M000334" class="method-signature">
739
739
  <span class="method-name">document.format_dump([stream], [spacing]) &rarr; true<br />
740
740
  </span>
741
741
  </a>
@@ -748,8 +748,8 @@ specified IO stream. If no stream is specified, stdout is used. If spacing
748
748
  is specified, it must be a boolean that determines whether spacing is used.
749
749
  </p>
750
750
  <p><a class="source-toggle" href="#"
751
- onclick="toggleCode('M000335-source');return false;">[Source]</a></p>
752
- <div class="method-source-code" id="M000335-source">
751
+ onclick="toggleCode('M000334-source');return false;">[Source]</a></p>
752
+ <div class="method-source-code" id="M000334-source">
753
753
  <pre>
754
754
  /*
755
755
  * call-seq:
@@ -768,11 +768,11 @@ ruby_xml_document_format_dump(int argc, VALUE *argv, VALUE self) {
768
768
  </div>
769
769
  </div>
770
770
 
771
- <div id="method-M000336" class="method-detail">
772
- <a name="M000336"></a>
771
+ <div id="method-M000335" class="method-detail">
772
+ <a name="M000335"></a>
773
773
 
774
774
  <div class="method-heading">
775
- <a href="#M000336" class="method-signature">
775
+ <a href="#M000335" class="method-signature">
776
776
  <span class="method-name">document.last &rarr; node<br />
777
777
  </span>
778
778
  </a>
@@ -783,8 +783,8 @@ ruby_xml_document_format_dump(int argc, VALUE *argv, VALUE self) {
783
783
  Obtain the last node.
784
784
  </p>
785
785
  <p><a class="source-toggle" href="#"
786
- onclick="toggleCode('M000336-source');return false;">[Source]</a></p>
787
- <div class="method-source-code" id="M000336-source">
786
+ onclick="toggleCode('M000335-source');return false;">[Source]</a></p>
787
+ <div class="method-source-code" id="M000335-source">
788
788
  <pre>
789
789
  /*
790
790
  * call-seq:
@@ -800,11 +800,11 @@ ruby_xml_document_last_get(VALUE self) {
800
800
  </div>
801
801
  </div>
802
802
 
803
- <div id="method-M000337" class="method-detail">
804
- <a name="M000337"></a>
803
+ <div id="method-M000336" class="method-detail">
804
+ <a name="M000336"></a>
805
805
 
806
806
  <div class="method-heading">
807
- <a href="#M000337" class="method-signature">
807
+ <a href="#M000336" class="method-signature">
808
808
  <span class="method-name">document.last? &rarr; (true|false)<br />
809
809
  </span>
810
810
  </a>
@@ -815,8 +815,8 @@ ruby_xml_document_last_get(VALUE self) {
815
815
  Determine whether there is a last node.
816
816
  </p>
817
817
  <p><a class="source-toggle" href="#"
818
- onclick="toggleCode('M000337-source');return false;">[Source]</a></p>
819
- <div class="method-source-code" id="M000337-source">
818
+ onclick="toggleCode('M000336-source');return false;">[Source]</a></p>
819
+ <div class="method-source-code" id="M000336-source">
820
820
  <pre>
821
821
  /*
822
822
  * call-seq:
@@ -832,11 +832,11 @@ ruby_xml_document_last_q(VALUE self) {
832
832
  </div>
833
833
  </div>
834
834
 
835
- <div id="method-M000338" class="method-detail">
836
- <a name="M000338"></a>
835
+ <div id="method-M000337" class="method-detail">
836
+ <a name="M000337"></a>
837
837
 
838
838
  <div class="method-heading">
839
- <a href="#M000338" class="method-signature">
839
+ <a href="#M000337" class="method-signature">
840
840
  <span class="method-name">document.next &rarr; node<br />
841
841
  </span>
842
842
  </a>
@@ -847,8 +847,8 @@ ruby_xml_document_last_q(VALUE self) {
847
847
  Obtain the next node.
848
848
  </p>
849
849
  <p><a class="source-toggle" href="#"
850
- onclick="toggleCode('M000338-source');return false;">[Source]</a></p>
851
- <div class="method-source-code" id="M000338-source">
850
+ onclick="toggleCode('M000337-source');return false;">[Source]</a></p>
851
+ <div class="method-source-code" id="M000337-source">
852
852
  <pre>
853
853
  /*
854
854
  * call-seq:
@@ -864,11 +864,11 @@ ruby_xml_document_next_get(VALUE self) {
864
864
  </div>
865
865
  </div>
866
866
 
867
- <div id="method-M000339" class="method-detail">
868
- <a name="M000339"></a>
867
+ <div id="method-M000338" class="method-detail">
868
+ <a name="M000338"></a>
869
869
 
870
870
  <div class="method-heading">
871
- <a href="#M000339" class="method-signature">
871
+ <a href="#M000338" class="method-signature">
872
872
  <span class="method-name">document.next? &rarr; (true|false)<br />
873
873
  </span>
874
874
  </a>
@@ -879,8 +879,8 @@ ruby_xml_document_next_get(VALUE self) {
879
879
  Determine whether there is a next node.
880
880
  </p>
881
881
  <p><a class="source-toggle" href="#"
882
- onclick="toggleCode('M000339-source');return false;">[Source]</a></p>
883
- <div class="method-source-code" id="M000339-source">
882
+ onclick="toggleCode('M000338-source');return false;">[Source]</a></p>
883
+ <div class="method-source-code" id="M000338-source">
884
884
  <pre>
885
885
  /*
886
886
  * call-seq:
@@ -896,11 +896,11 @@ ruby_xml_document_next_q(VALUE self) {
896
896
  </div>
897
897
  </div>
898
898
 
899
- <div id="method-M000340" class="method-detail">
900
- <a name="M000340"></a>
899
+ <div id="method-M000339" class="method-detail">
900
+ <a name="M000339"></a>
901
901
 
902
902
  <div class="method-heading">
903
- <a href="#M000340" class="method-signature">
903
+ <a href="#M000339" class="method-signature">
904
904
  <span class="method-name">document.parent &rarr; node<br />
905
905
  </span>
906
906
  </a>
@@ -911,8 +911,8 @@ ruby_xml_document_next_q(VALUE self) {
911
911
  Obtain the parent node.
912
912
  </p>
913
913
  <p><a class="source-toggle" href="#"
914
- onclick="toggleCode('M000340-source');return false;">[Source]</a></p>
915
- <div class="method-source-code" id="M000340-source">
914
+ onclick="toggleCode('M000339-source');return false;">[Source]</a></p>
915
+ <div class="method-source-code" id="M000339-source">
916
916
  <pre>
917
917
  /*
918
918
  * call-seq:
@@ -928,11 +928,11 @@ ruby_xml_document_parent_get(VALUE self) {
928
928
  </div>
929
929
  </div>
930
930
 
931
- <div id="method-M000341" class="method-detail">
932
- <a name="M000341"></a>
931
+ <div id="method-M000340" class="method-detail">
932
+ <a name="M000340"></a>
933
933
 
934
934
  <div class="method-heading">
935
- <a href="#M000341" class="method-signature">
935
+ <a href="#M000340" class="method-signature">
936
936
  <span class="method-name">document.parent? &rarr; (true|false)<br />
937
937
  </span>
938
938
  </a>
@@ -943,8 +943,8 @@ ruby_xml_document_parent_get(VALUE self) {
943
943
  Determine whether there is a parent node.
944
944
  </p>
945
945
  <p><a class="source-toggle" href="#"
946
- onclick="toggleCode('M000341-source');return false;">[Source]</a></p>
947
- <div class="method-source-code" id="M000341-source">
946
+ onclick="toggleCode('M000340-source');return false;">[Source]</a></p>
947
+ <div class="method-source-code" id="M000340-source">
948
948
  <pre>
949
949
  /*
950
950
  * call-seq:
@@ -960,11 +960,11 @@ ruby_xml_document_parent_q(VALUE self) {
960
960
  </div>
961
961
  </div>
962
962
 
963
- <div id="method-M000342" class="method-detail">
964
- <a name="M000342"></a>
963
+ <div id="method-M000341" class="method-detail">
964
+ <a name="M000341"></a>
965
965
 
966
966
  <div class="method-heading">
967
- <a href="#M000342" class="method-signature">
967
+ <a href="#M000341" class="method-signature">
968
968
  <span class="method-name">document.prev &rarr; node<br />
969
969
  </span>
970
970
  </a>
@@ -975,8 +975,8 @@ ruby_xml_document_parent_q(VALUE self) {
975
975
  Obtain the previous node.
976
976
  </p>
977
977
  <p><a class="source-toggle" href="#"
978
- onclick="toggleCode('M000342-source');return false;">[Source]</a></p>
979
- <div class="method-source-code" id="M000342-source">
978
+ onclick="toggleCode('M000341-source');return false;">[Source]</a></p>
979
+ <div class="method-source-code" id="M000341-source">
980
980
  <pre>
981
981
  /*
982
982
  * call-seq:
@@ -992,11 +992,11 @@ ruby_xml_document_prev_get(VALUE self) {
992
992
  </div>
993
993
  </div>
994
994
 
995
- <div id="method-M000343" class="method-detail">
996
- <a name="M000343"></a>
995
+ <div id="method-M000342" class="method-detail">
996
+ <a name="M000342"></a>
997
997
 
998
998
  <div class="method-heading">
999
- <a href="#M000343" class="method-signature">
999
+ <a href="#M000342" class="method-signature">
1000
1000
  <span class="method-name">document.prev? &rarr; (true|false)<br />
1001
1001
  </span>
1002
1002
  </a>
@@ -1007,8 +1007,8 @@ ruby_xml_document_prev_get(VALUE self) {
1007
1007
  Determine whether there is a previous node.
1008
1008
  </p>
1009
1009
  <p><a class="source-toggle" href="#"
1010
- onclick="toggleCode('M000343-source');return false;">[Source]</a></p>
1011
- <div class="method-source-code" id="M000343-source">
1010
+ onclick="toggleCode('M000342-source');return false;">[Source]</a></p>
1011
+ <div class="method-source-code" id="M000342-source">
1012
1012
  <pre>
1013
1013
  /*
1014
1014
  * call-seq:
@@ -1024,11 +1024,11 @@ ruby_xml_document_prev_q(VALUE self) {
1024
1024
  </div>
1025
1025
  </div>
1026
1026
 
1027
- <div id="method-M000354" class="method-detail">
1028
- <a name="M000354"></a>
1027
+ <div id="method-M000353" class="method-detail">
1028
+ <a name="M000353"></a>
1029
1029
 
1030
1030
  <div class="method-heading">
1031
- <a href="#M000354" class="method-signature">
1031
+ <a href="#M000353" class="method-signature">
1032
1032
  <span class="method-name">document.reader &rarr; reader<br />
1033
1033
  </span>
1034
1034
  </a>
@@ -1037,11 +1037,11 @@ ruby_xml_document_prev_q(VALUE self) {
1037
1037
  <div class="method-description">
1038
1038
  <p>
1039
1039
  Create a <a href="Reader.html">XML::Reader</a> from the document. This is a
1040
- shortcut to <a href="Reader.html#M000265">XML::Reader.walker</a>().
1040
+ shortcut to <a href="Reader.html#M000264">XML::Reader.walker</a>().
1041
1041
  </p>
1042
1042
  <p><a class="source-toggle" href="#"
1043
- onclick="toggleCode('M000354-source');return false;">[Source]</a></p>
1044
- <div class="method-source-code" id="M000354-source">
1043
+ onclick="toggleCode('M000353-source');return false;">[Source]</a></p>
1044
+ <div class="method-source-code" id="M000353-source">
1045
1045
  <pre>
1046
1046
  /*
1047
1047
  * call-seq:
@@ -1060,11 +1060,11 @@ ruby_xml_document_reader(VALUE self)
1060
1060
  </div>
1061
1061
  </div>
1062
1062
 
1063
- <div id="method-M000344" class="method-detail">
1064
- <a name="M000344"></a>
1063
+ <div id="method-M000343" class="method-detail">
1064
+ <a name="M000343"></a>
1065
1065
 
1066
1066
  <div class="method-heading">
1067
- <a href="#M000344" class="method-signature">
1067
+ <a href="#M000343" class="method-signature">
1068
1068
  <span class="method-name">document.root &rarr; node<br />
1069
1069
  </span>
1070
1070
  </a>
@@ -1075,8 +1075,8 @@ ruby_xml_document_reader(VALUE self)
1075
1075
  Obtain the root node.
1076
1076
  </p>
1077
1077
  <p><a class="source-toggle" href="#"
1078
- onclick="toggleCode('M000344-source');return false;">[Source]</a></p>
1079
- <div class="method-source-code" id="M000344-source">
1078
+ onclick="toggleCode('M000343-source');return false;">[Source]</a></p>
1079
+ <div class="method-source-code" id="M000343-source">
1080
1080
  <pre>
1081
1081
  /*
1082
1082
  * call-seq:
@@ -1092,11 +1092,11 @@ ruby_xml_document_root_get(VALUE self) {
1092
1092
  </div>
1093
1093
  </div>
1094
1094
 
1095
- <div id="method-M000345" class="method-detail">
1096
- <a name="M000345"></a>
1095
+ <div id="method-M000344" class="method-detail">
1096
+ <a name="M000344"></a>
1097
1097
 
1098
1098
  <div class="method-heading">
1099
- <a href="#M000345" class="method-signature">
1099
+ <a href="#M000344" class="method-signature">
1100
1100
  <span class="method-name">document.root = node<br />
1101
1101
  </span>
1102
1102
  </a>
@@ -1107,8 +1107,8 @@ ruby_xml_document_root_get(VALUE self) {
1107
1107
  Set the root node.
1108
1108
  </p>
1109
1109
  <p><a class="source-toggle" href="#"
1110
- onclick="toggleCode('M000345-source');return false;">[Source]</a></p>
1111
- <div class="method-source-code" id="M000345-source">
1110
+ onclick="toggleCode('M000344-source');return false;">[Source]</a></p>
1111
+ <div class="method-source-code" id="M000344-source">
1112
1112
  <pre>
1113
1113
  /*
1114
1114
  * call-seq:
@@ -1124,11 +1124,11 @@ ruby_xml_document_root_set(VALUE self, VALUE node) {
1124
1124
  </div>
1125
1125
  </div>
1126
1126
 
1127
- <div id="method-M000346" class="method-detail">
1128
- <a name="M000346"></a>
1127
+ <div id="method-M000345" class="method-detail">
1128
+ <a name="M000345"></a>
1129
1129
 
1130
1130
  <div class="method-heading">
1131
- <a href="#M000346" class="method-signature">
1131
+ <a href="#M000345" class="method-signature">
1132
1132
  <span class="method-name">document.save(filename, format = false) &rarr; int<br />
1133
1133
  </span>
1134
1134
  </a>
@@ -1148,8 +1148,8 @@ Parameters:
1148
1148
  returns: The number of bytes written or -1 in case of error.
1149
1149
  </pre>
1150
1150
  <p><a class="source-toggle" href="#"
1151
- onclick="toggleCode('M000346-source');return false;">[Source]</a></p>
1152
- <div class="method-source-code" id="M000346-source">
1151
+ onclick="toggleCode('M000345-source');return false;">[Source]</a></p>
1152
+ <div class="method-source-code" id="M000345-source">
1153
1153
  <pre>
1154
1154
  /*
1155
1155
  * call-seq:
@@ -1171,11 +1171,11 @@ ruby_xml_document_save(int argc, VALUE *argv, VALUE self) {
1171
1171
  </div>
1172
1172
  </div>
1173
1173
 
1174
- <div id="method-M000347" class="method-detail">
1175
- <a name="M000347"></a>
1174
+ <div id="method-M000346" class="method-detail">
1175
+ <a name="M000346"></a>
1176
1176
 
1177
1177
  <div class="method-heading">
1178
- <a href="#M000347" class="method-signature">
1178
+ <a href="#M000346" class="method-signature">
1179
1179
  <span class="method-name">document.standalone? &rarr; (true|false)<br />
1180
1180
  </span>
1181
1181
  </a>
@@ -1186,8 +1186,8 @@ ruby_xml_document_save(int argc, VALUE *argv, VALUE self) {
1186
1186
  Determine whether this is a standalone document.
1187
1187
  </p>
1188
1188
  <p><a class="source-toggle" href="#"
1189
- onclick="toggleCode('M000347-source');return false;">[Source]</a></p>
1190
- <div class="method-source-code" id="M000347-source">
1189
+ onclick="toggleCode('M000346-source');return false;">[Source]</a></p>
1190
+ <div class="method-source-code" id="M000346-source">
1191
1191
  <pre>
1192
1192
  /*
1193
1193
  * call-seq:
@@ -1203,11 +1203,11 @@ ruby_xml_document_standalone_q(VALUE self) {
1203
1203
  </div>
1204
1204
  </div>
1205
1205
 
1206
- <div id="method-M000348" class="method-detail">
1207
- <a name="M000348"></a>
1206
+ <div id="method-M000347" class="method-detail">
1207
+ <a name="M000347"></a>
1208
1208
 
1209
1209
  <div class="method-heading">
1210
- <a href="#M000348" class="method-signature">
1210
+ <a href="#M000347" class="method-signature">
1211
1211
  <span class="method-name">document.to_s({format=true,encoding) &rarr; "xml"<br />
1212
1212
  </span>
1213
1213
  </a>
@@ -1225,8 +1225,8 @@ The encoding is not applied to the document, but is encoding target of the
1225
1225
  resulting string.
1226
1226
  </p>
1227
1227
  <p><a class="source-toggle" href="#"
1228
- onclick="toggleCode('M000348-source');return false;">[Source]</a></p>
1229
- <div class="method-source-code" id="M000348-source">
1228
+ onclick="toggleCode('M000347-source');return false;">[Source]</a></p>
1229
+ <div class="method-source-code" id="M000347-source">
1230
1230
  <pre>
1231
1231
  /*
1232
1232
  * call-seq:
@@ -1248,11 +1248,11 @@ ruby_xml_document_to_s(int argc, VALUE *argv, VALUE self) {
1248
1248
  </div>
1249
1249
  </div>
1250
1250
 
1251
- <div id="method-M000349" class="method-detail">
1252
- <a name="M000349"></a>
1251
+ <div id="method-M000348" class="method-detail">
1252
+ <a name="M000348"></a>
1253
1253
 
1254
1254
  <div class="method-heading">
1255
- <a href="#M000349" class="method-signature">
1255
+ <a href="#M000348" class="method-signature">
1256
1256
  <span class="method-name">document.url &rarr; "url"<br />
1257
1257
  </span>
1258
1258
  </a>
@@ -1263,8 +1263,8 @@ ruby_xml_document_to_s(int argc, VALUE *argv, VALUE self) {
1263
1263
  Obtain this document&#8217;s source URL, if any.
1264
1264
  </p>
1265
1265
  <p><a class="source-toggle" href="#"
1266
- onclick="toggleCode('M000349-source');return false;">[Source]</a></p>
1267
- <div class="method-source-code" id="M000349-source">
1266
+ onclick="toggleCode('M000348-source');return false;">[Source]</a></p>
1267
+ <div class="method-source-code" id="M000348-source">
1268
1268
  <pre>
1269
1269
  /*
1270
1270
  * call-seq:
@@ -1280,11 +1280,11 @@ ruby_xml_document_url_get(VALUE self) {
1280
1280
  </div>
1281
1281
  </div>
1282
1282
 
1283
- <div id="method-M000352" class="method-detail">
1284
- <a name="M000352"></a>
1283
+ <div id="method-M000351" class="method-detail">
1284
+ <a name="M000351"></a>
1285
1285
 
1286
1286
  <div class="method-heading">
1287
- <a href="#M000352" class="method-signature">
1287
+ <a href="#M000351" class="method-signature">
1288
1288
  <span class="method-name">document.validate(dtd) &rarr; (true|false)<br />
1289
1289
  </span>
1290
1290
  </a>
@@ -1295,8 +1295,8 @@ ruby_xml_document_url_get(VALUE self) {
1295
1295
  Validate this document against the specified XML::DTD.
1296
1296
  </p>
1297
1297
  <p><a class="source-toggle" href="#"
1298
- onclick="toggleCode('M000352-source');return false;">[Source]</a></p>
1299
- <div class="method-source-code" id="M000352-source">
1298
+ onclick="toggleCode('M000351-source');return false;">[Source]</a></p>
1299
+ <div class="method-source-code" id="M000351-source">
1300
1300
  <pre>
1301
1301
  /*
1302
1302
  * call-seq:
@@ -1312,11 +1312,11 @@ ruby_xml_document_validate_dtd(VALUE self, VALUE dtd) {
1312
1312
  </div>
1313
1313
  </div>
1314
1314
 
1315
- <div id="method-M000353" class="method-detail">
1316
- <a name="M000353"></a>
1315
+ <div id="method-M000352" class="method-detail">
1316
+ <a name="M000352"></a>
1317
1317
 
1318
1318
  <div class="method-heading">
1319
- <a href="#M000353" class="method-signature">
1319
+ <a href="#M000352" class="method-signature">
1320
1320
  <span class="method-name">document.validate_schema(schema) &rarr; (true|false)<br />
1321
1321
  </span>
1322
1322
  </a>
@@ -1328,8 +1328,8 @@ Validate this document against the specified <a
1328
1328
  href="Schema.html">XML::Schema</a>.
1329
1329
  </p>
1330
1330
  <p><a class="source-toggle" href="#"
1331
- onclick="toggleCode('M000353-source');return false;">[Source]</a></p>
1332
- <div class="method-source-code" id="M000353-source">
1331
+ onclick="toggleCode('M000352-source');return false;">[Source]</a></p>
1332
+ <div class="method-source-code" id="M000352-source">
1333
1333
  <pre>
1334
1334
  /*
1335
1335
  * call-seq:
@@ -1345,11 +1345,11 @@ ruby_xml_document_validate_schema(VALUE self, VALUE schema) {
1345
1345
  </div>
1346
1346
  </div>
1347
1347
 
1348
- <div id="method-M000350" class="method-detail">
1349
- <a name="M000350"></a>
1348
+ <div id="method-M000349" class="method-detail">
1349
+ <a name="M000349"></a>
1350
1350
 
1351
1351
  <div class="method-heading">
1352
- <a href="#M000350" class="method-signature">
1352
+ <a href="#M000349" class="method-signature">
1353
1353
  <span class="method-name">document.version &rarr; "version"<br />
1354
1354
  </span>
1355
1355
  </a>
@@ -1361,8 +1361,8 @@ Obtain the <a href="../XML.html">XML</a> version specified by this
1361
1361
  document.
1362
1362
  </p>
1363
1363
  <p><a class="source-toggle" href="#"
1364
- onclick="toggleCode('M000350-source');return false;">[Source]</a></p>
1365
- <div class="method-source-code" id="M000350-source">
1364
+ onclick="toggleCode('M000349-source');return false;">[Source]</a></p>
1365
+ <div class="method-source-code" id="M000349-source">
1366
1366
  <pre>
1367
1367
  /*
1368
1368
  * call-seq:
@@ -1378,11 +1378,11 @@ ruby_xml_document_version_get(VALUE self) {
1378
1378
  </div>
1379
1379
  </div>
1380
1380
 
1381
- <div id="method-M000351" class="method-detail">
1382
- <a name="M000351"></a>
1381
+ <div id="method-M000350" class="method-detail">
1382
+ <a name="M000350"></a>
1383
1383
 
1384
1384
  <div class="method-heading">
1385
- <a href="#M000351" class="method-signature">
1385
+ <a href="#M000350" class="method-signature">
1386
1386
  <span class="method-name">document.xinclude &rarr; num<br />
1387
1387
  </span>
1388
1388
  </a>
@@ -1393,8 +1393,8 @@ ruby_xml_document_version_get(VALUE self) {
1393
1393
  Process xinclude directives in this document.
1394
1394
  </p>
1395
1395
  <p><a class="source-toggle" href="#"
1396
- onclick="toggleCode('M000351-source');return false;">[Source]</a></p>
1397
- <div class="method-source-code" id="M000351-source">
1396
+ onclick="toggleCode('M000350-source');return false;">[Source]</a></p>
1397
+ <div class="method-source-code" id="M000350-source">
1398
1398
  <pre>
1399
1399
  /*
1400
1400
  * call-seq: