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.
- data/CHANGES +8 -1
- data/README +2 -2
- data/benchmark/xml_benchmarks.rb +6 -1
- data/doc/{classes → rdoc/classes}/LibXML/XML/Attr.html +159 -159
- data/doc/{classes → rdoc/classes}/LibXML/XML/Attributes.html +56 -90
- data/doc/{classes → rdoc/classes}/LibXML/XML/Document.html +219 -219
- data/doc/{classes → rdoc/classes}/LibXML/XML/Dtd.html +6 -6
- data/doc/{classes → rdoc/classes}/LibXML/XML/Error.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/HTMLParser.html +36 -36
- data/doc/{classes → rdoc/classes}/LibXML/XML/InputCallbacks.html +6 -6
- data/doc/{classes → rdoc/classes}/LibXML/XML/NS.html +42 -42
- data/doc/{classes → rdoc/classes}/LibXML/XML/Node/FailedModify.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/Node/Set.html +54 -54
- data/doc/{classes → rdoc/classes}/LibXML/XML/Node/SetNamespace.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/Node/UnknownType.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/Node.html +728 -812
- data/doc/{classes → rdoc/classes}/LibXML/XML/Parser/Context.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/Parser/ParseError.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/Parser.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/Reader.html +282 -282
- data/doc/{classes → rdoc/classes}/LibXML/XML/SaxParser.html +48 -48
- data/doc/{classes → rdoc/classes}/LibXML/XML/Schema.html +18 -18
- data/doc/{classes → rdoc/classes}/LibXML/XML/State.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/Tree.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/XInclude/Error.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/XInclude.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/XMLParserOptions.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/XPath/Context.html +2 -2
- data/doc/{classes → rdoc/classes}/LibXML/XML/XPath/InvalidPath.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/XPath/Object.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/XPath.html +2 -2
- data/doc/{classes → rdoc/classes}/LibXML/XML/XPointer/Context/InvalidPath.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/XPointer/Context.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/XPointer/InvalidExpression.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML/XML/XPointer.html +6 -6
- data/doc/{classes → rdoc/classes}/LibXML/XML.html +0 -0
- data/doc/{classes → rdoc/classes}/LibXML.html +0 -0
- data/doc/{classes → rdoc/classes}/XML.html +0 -0
- data/doc/{classes → rdoc/classes}/singleton.html +0 -0
- data/doc/rdoc/created.rid +1 -0
- data/doc/{files → rdoc/files}/CHANGES.html +11 -2
- data/doc/{files → rdoc/files}/LICENSE.html +0 -0
- data/doc/{files → rdoc/files}/README.html +2 -2
- data/doc/{files → rdoc/files}/VERSION.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/cbg_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/libxml_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_attr_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_attributes_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_document_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_dtd_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_html_parser_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_input_cbg_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_node_c.html +1 -1
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_node_set_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_ns_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_parser_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_parser_context_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_reader_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_sax_parser_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_schema_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_state_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xinclude_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xpath_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xpath_context_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xpath_object_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xpointer_c.html +0 -0
- data/doc/{files → rdoc/files}/ext/libxml/ruby_xml_xpointer_context_c.html +0 -0
- data/doc/{files → rdoc/files}/lib/libxml/attr_rb.html +0 -0
- data/doc/{files → rdoc/files}/lib/libxml/attributes_rb.html +0 -0
- data/doc/{files → rdoc/files}/lib/libxml/document_rb.html +0 -0
- data/doc/{files → rdoc/files}/lib/libxml/node_rb.html +1 -1
- data/doc/{files → rdoc/files}/lib/libxml/node_set_rb.html +0 -0
- data/doc/{files → rdoc/files}/lib/libxml/parser_options_rb.html +0 -0
- data/doc/{files → rdoc/files}/lib/libxml/parser_rb.html +0 -0
- data/doc/{files → rdoc/files}/lib/libxml/properties_rb.html +1 -1
- data/doc/{files → rdoc/files}/lib/libxml/tree_rb.html +0 -0
- data/doc/{files → rdoc/files}/lib/libxml_rb.html +0 -0
- data/doc/{files → rdoc/files}/lib/xml/libxml_rb.html +0 -0
- data/doc/{fr_class_index.html → rdoc/fr_class_index.html} +0 -0
- data/doc/{fr_file_index.html → rdoc/fr_file_index.html} +0 -0
- data/doc/{fr_method_index.html → rdoc/fr_method_index.html} +233 -234
- data/doc/{index.html → rdoc/index.html} +2 -2
- data/doc/{rdoc-style.css → rdoc/rdoc-style.css} +0 -0
- data/ext/libxml/extconf.rb +75 -117
- data/ext/libxml/ruby_xml_node.c +14 -401
- data/ext/libxml/version.h +2 -2
- data/lib/libxml/node.rb +159 -27
- data/lib/libxml/properties.rb +2 -8
- data/lib/libxml_ruby.so +0 -0
- data/mingw/libxml_ruby.so +0 -0
- data/test/tc_xml_attributes.rb +9 -0
- metadata +98 -97
- data/doc/created.rid +0 -1
@@ -85,7 +85,7 @@
|
|
85
85
|
<div id="description">
|
86
86
|
<p>
|
87
87
|
Provides access to an single element attribute. Accessed by calling <a
|
88
|
-
href="Node.html#
|
88
|
+
href="Node.html#M000129">XML::Node#attributes</a> method.
|
89
89
|
</p>
|
90
90
|
<p>
|
91
91
|
Basic Usage:
|
@@ -109,33 +109,33 @@ Basic Usage:
|
|
109
109
|
<h3 class="section-bar">Methods</h3>
|
110
110
|
|
111
111
|
<div class="name-list">
|
112
|
-
<a href="#
|
113
|
-
<a href="#
|
114
|
-
<a href="#
|
115
|
-
<a href="#
|
116
|
-
<a href="#
|
117
|
-
<a href="#
|
118
|
-
<a href="#
|
119
|
-
<a href="#
|
120
|
-
<a href="#
|
121
|
-
<a href="#
|
122
|
-
<a href="#
|
123
|
-
<a href="#
|
124
|
-
<a href="#
|
125
|
-
<a href="#
|
126
|
-
<a href="#
|
127
|
-
<a href="#
|
128
|
-
<a href="#
|
129
|
-
<a href="#
|
130
|
-
<a href="#
|
131
|
-
<a href="#
|
132
|
-
<a href="#
|
133
|
-
<a href="#
|
134
|
-
<a href="#
|
135
|
-
<a href="#
|
136
|
-
<a href="#
|
137
|
-
<a href="#
|
138
|
-
<a href="#
|
112
|
+
<a href="#M000237">child</a>
|
113
|
+
<a href="#M000238">child?</a>
|
114
|
+
<a href="#M000239">doc</a>
|
115
|
+
<a href="#M000240">doc?</a>
|
116
|
+
<a href="#M000259">each</a>
|
117
|
+
<a href="#M000258">each_attr</a>
|
118
|
+
<a href="#M000257">each_sibling</a>
|
119
|
+
<a href="#M000241">last</a>
|
120
|
+
<a href="#M000242">last?</a>
|
121
|
+
<a href="#M000243">name</a>
|
122
|
+
<a href="#M000236">new</a>
|
123
|
+
<a href="#M000244">next</a>
|
124
|
+
<a href="#M000245">next?</a>
|
125
|
+
<a href="#M000246">node_type_name</a>
|
126
|
+
<a href="#M000247">ns</a>
|
127
|
+
<a href="#M000248">ns?</a>
|
128
|
+
<a href="#M000249">parent</a>
|
129
|
+
<a href="#M000250">parent?</a>
|
130
|
+
<a href="#M000251">prev</a>
|
131
|
+
<a href="#M000252">prev?</a>
|
132
|
+
<a href="#M000253">remove!</a>
|
133
|
+
<a href="#M000256">siblings</a>
|
134
|
+
<a href="#M000261">to_a</a>
|
135
|
+
<a href="#M000260">to_h</a>
|
136
|
+
<a href="#M000262">to_s</a>
|
137
|
+
<a href="#M000254">value</a>
|
138
|
+
<a href="#M000255">value=</a>
|
139
139
|
</div>
|
140
140
|
</div>
|
141
141
|
|
@@ -164,11 +164,11 @@ Basic Usage:
|
|
164
164
|
<div id="methods">
|
165
165
|
<h3 class="section-bar">Public Class methods</h3>
|
166
166
|
|
167
|
-
<div id="method-
|
168
|
-
<a name="
|
167
|
+
<div id="method-M000236" class="method-detail">
|
168
|
+
<a name="M000236"></a>
|
169
169
|
|
170
170
|
<div class="method-heading">
|
171
|
-
<a href="#
|
171
|
+
<a href="#M000236" class="method-signature">
|
172
172
|
<span class="method-name">attr.initialize(node, "name", "value")<br />
|
173
173
|
</span>
|
174
174
|
</a>
|
@@ -186,8 +186,8 @@ name: The name of the attribute value: The value of the attribute
|
|
186
186
|
attr = XML::Attr.new(doc.root, 'name', 'libxml')
|
187
187
|
</pre>
|
188
188
|
<p><a class="source-toggle" href="#"
|
189
|
-
onclick="toggleCode('
|
190
|
-
<div class="method-source-code" id="
|
189
|
+
onclick="toggleCode('M000236-source');return false;">[Source]</a></p>
|
190
|
+
<div class="method-source-code" id="M000236-source">
|
191
191
|
<pre>
|
192
192
|
/*
|
193
193
|
* call-seq:
|
@@ -211,11 +211,11 @@ ruby_xml_attr_initialize(int argc, VALUE *argv, VALUE self) {
|
|
211
211
|
|
212
212
|
<h3 class="section-bar">Public Instance methods</h3>
|
213
213
|
|
214
|
-
<div id="method-
|
215
|
-
<a name="
|
214
|
+
<div id="method-M000237" class="method-detail">
|
215
|
+
<a name="M000237"></a>
|
216
216
|
|
217
217
|
<div class="method-heading">
|
218
|
-
<a href="#
|
218
|
+
<a href="#M000237" class="method-signature">
|
219
219
|
<span class="method-name">attr.child → node<br />
|
220
220
|
</span>
|
221
221
|
</a>
|
@@ -226,8 +226,8 @@ ruby_xml_attr_initialize(int argc, VALUE *argv, VALUE self) {
|
|
226
226
|
Obtain this attribute’s child attribute(s).
|
227
227
|
</p>
|
228
228
|
<p><a class="source-toggle" href="#"
|
229
|
-
onclick="toggleCode('
|
230
|
-
<div class="method-source-code" id="
|
229
|
+
onclick="toggleCode('M000237-source');return false;">[Source]</a></p>
|
230
|
+
<div class="method-source-code" id="M000237-source">
|
231
231
|
<pre>
|
232
232
|
/*
|
233
233
|
* call-seq:
|
@@ -243,11 +243,11 @@ ruby_xml_attr_child_get(VALUE self) {
|
|
243
243
|
</div>
|
244
244
|
</div>
|
245
245
|
|
246
|
-
<div id="method-
|
247
|
-
<a name="
|
246
|
+
<div id="method-M000238" class="method-detail">
|
247
|
+
<a name="M000238"></a>
|
248
248
|
|
249
249
|
<div class="method-heading">
|
250
|
-
<a href="#
|
250
|
+
<a href="#M000238" class="method-signature">
|
251
251
|
<span class="method-name">attr.child? → (true|false)<br />
|
252
252
|
</span>
|
253
253
|
</a>
|
@@ -258,8 +258,8 @@ ruby_xml_attr_child_get(VALUE self) {
|
|
258
258
|
Determine whether this attribute has child attributes.
|
259
259
|
</p>
|
260
260
|
<p><a class="source-toggle" href="#"
|
261
|
-
onclick="toggleCode('
|
262
|
-
<div class="method-source-code" id="
|
261
|
+
onclick="toggleCode('M000238-source');return false;">[Source]</a></p>
|
262
|
+
<div class="method-source-code" id="M000238-source">
|
263
263
|
<pre>
|
264
264
|
/*
|
265
265
|
* call-seq:
|
@@ -275,11 +275,11 @@ ruby_xml_attr_child_q(VALUE self) {
|
|
275
275
|
</div>
|
276
276
|
</div>
|
277
277
|
|
278
|
-
<div id="method-
|
279
|
-
<a name="
|
278
|
+
<div id="method-M000239" class="method-detail">
|
279
|
+
<a name="M000239"></a>
|
280
280
|
|
281
281
|
<div class="method-heading">
|
282
|
-
<a href="#
|
282
|
+
<a href="#M000239" class="method-signature">
|
283
283
|
<span class="method-name">attr.doc → XML::Document<br />
|
284
284
|
</span>
|
285
285
|
</a>
|
@@ -293,8 +293,8 @@ Returns this attribute’s document.
|
|
293
293
|
doc.root.attributes.get_attribute('name').doc == doc
|
294
294
|
</pre>
|
295
295
|
<p><a class="source-toggle" href="#"
|
296
|
-
onclick="toggleCode('
|
297
|
-
<div class="method-source-code" id="
|
296
|
+
onclick="toggleCode('M000239-source');return false;">[Source]</a></p>
|
297
|
+
<div class="method-source-code" id="M000239-source">
|
298
298
|
<pre>
|
299
299
|
/*
|
300
300
|
* call-seq:
|
@@ -312,11 +312,11 @@ ruby_xml_attr_doc_get(VALUE self) {
|
|
312
312
|
</div>
|
313
313
|
</div>
|
314
314
|
|
315
|
-
<div id="method-
|
316
|
-
<a name="
|
315
|
+
<div id="method-M000240" class="method-detail">
|
316
|
+
<a name="M000240"></a>
|
317
317
|
|
318
318
|
<div class="method-heading">
|
319
|
-
<a href="#
|
319
|
+
<a href="#M000240" class="method-signature">
|
320
320
|
<span class="method-name">attr.doc? → (true|false)<br />
|
321
321
|
</span>
|
322
322
|
</a>
|
@@ -328,8 +328,8 @@ Determine whether this attribute is associated with an <a
|
|
328
328
|
href="Document.html">XML::Document</a>.
|
329
329
|
</p>
|
330
330
|
<p><a class="source-toggle" href="#"
|
331
|
-
onclick="toggleCode('
|
332
|
-
<div class="method-source-code" id="
|
331
|
+
onclick="toggleCode('M000240-source');return false;">[Source]</a></p>
|
332
|
+
<div class="method-source-code" id="M000240-source">
|
333
333
|
<pre>
|
334
334
|
/*
|
335
335
|
* call-seq:
|
@@ -346,8 +346,8 @@ ruby_xml_attr_doc_q(VALUE self) {
|
|
346
346
|
</div>
|
347
347
|
</div>
|
348
348
|
|
349
|
-
<div id="method-
|
350
|
-
<a name="
|
349
|
+
<div id="method-M000259" class="method-detail">
|
350
|
+
<a name="M000259"></a>
|
351
351
|
|
352
352
|
<div class="method-heading">
|
353
353
|
<span class="method-name">each</span><span class="method-args">(&blk)</span>
|
@@ -355,13 +355,13 @@ ruby_xml_attr_doc_q(VALUE self) {
|
|
355
355
|
|
356
356
|
<div class="method-description">
|
357
357
|
<p>
|
358
|
-
Alias for <a href="Attr.html#
|
358
|
+
Alias for <a href="Attr.html#M000257">each_sibling</a>
|
359
359
|
</p>
|
360
360
|
</div>
|
361
361
|
</div>
|
362
362
|
|
363
|
-
<div id="method-
|
364
|
-
<a name="
|
363
|
+
<div id="method-M000258" class="method-detail">
|
364
|
+
<a name="M000258"></a>
|
365
365
|
|
366
366
|
<div class="method-heading">
|
367
367
|
<span class="method-name">each_attr</span><span class="method-args">(&blk)</span>
|
@@ -369,24 +369,24 @@ Alias for <a href="Attr.html#M000258">each_sibling</a>
|
|
369
369
|
|
370
370
|
<div class="method-description">
|
371
371
|
<p>
|
372
|
-
Alias for <a href="Attr.html#
|
372
|
+
Alias for <a href="Attr.html#M000257">each_sibling</a>
|
373
373
|
</p>
|
374
374
|
</div>
|
375
375
|
</div>
|
376
376
|
|
377
|
-
<div id="method-
|
378
|
-
<a name="
|
377
|
+
<div id="method-M000257" class="method-detail">
|
378
|
+
<a name="M000257"></a>
|
379
379
|
|
380
380
|
<div class="method-heading">
|
381
|
-
<a href="#
|
381
|
+
<a href="#M000257" class="method-signature">
|
382
382
|
<span class="method-name">each_sibling</span><span class="method-args">(&blk)</span>
|
383
383
|
</a>
|
384
384
|
</div>
|
385
385
|
|
386
386
|
<div class="method-description">
|
387
387
|
<p><a class="source-toggle" href="#"
|
388
|
-
onclick="toggleCode('
|
389
|
-
<div class="method-source-code" id="
|
388
|
+
onclick="toggleCode('M000257-source');return false;">[Source]</a></p>
|
389
|
+
<div class="method-source-code" id="M000257-source">
|
390
390
|
<pre>
|
391
391
|
<span class="ruby-comment cmt"># File lib/libxml/attr.rb, line 19</span>
|
392
392
|
19: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_sibling</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -397,11 +397,11 @@ Alias for <a href="Attr.html#M000258">each_sibling</a>
|
|
397
397
|
</div>
|
398
398
|
</div>
|
399
399
|
|
400
|
-
<div id="method-
|
401
|
-
<a name="
|
400
|
+
<div id="method-M000241" class="method-detail">
|
401
|
+
<a name="M000241"></a>
|
402
402
|
|
403
403
|
<div class="method-heading">
|
404
|
-
<a href="#
|
404
|
+
<a href="#M000241" class="method-signature">
|
405
405
|
<span class="method-name">attr.last → node<br />
|
406
406
|
</span>
|
407
407
|
</a>
|
@@ -412,8 +412,8 @@ Alias for <a href="Attr.html#M000258">each_sibling</a>
|
|
412
412
|
Obtain the last attribute.
|
413
413
|
</p>
|
414
414
|
<p><a class="source-toggle" href="#"
|
415
|
-
onclick="toggleCode('
|
416
|
-
<div class="method-source-code" id="
|
415
|
+
onclick="toggleCode('M000241-source');return false;">[Source]</a></p>
|
416
|
+
<div class="method-source-code" id="M000241-source">
|
417
417
|
<pre>
|
418
418
|
/*
|
419
419
|
* call-seq:
|
@@ -429,11 +429,11 @@ ruby_xml_attr_last_get(VALUE self) {
|
|
429
429
|
</div>
|
430
430
|
</div>
|
431
431
|
|
432
|
-
<div id="method-
|
433
|
-
<a name="
|
432
|
+
<div id="method-M000242" class="method-detail">
|
433
|
+
<a name="M000242"></a>
|
434
434
|
|
435
435
|
<div class="method-heading">
|
436
|
-
<a href="#
|
436
|
+
<a href="#M000242" class="method-signature">
|
437
437
|
<span class="method-name">attr.last? → (true|false)<br />
|
438
438
|
</span>
|
439
439
|
</a>
|
@@ -444,8 +444,8 @@ ruby_xml_attr_last_get(VALUE self) {
|
|
444
444
|
Determine whether this is the last attribute.
|
445
445
|
</p>
|
446
446
|
<p><a class="source-toggle" href="#"
|
447
|
-
onclick="toggleCode('
|
448
|
-
<div class="method-source-code" id="
|
447
|
+
onclick="toggleCode('M000242-source');return false;">[Source]</a></p>
|
448
|
+
<div class="method-source-code" id="M000242-source">
|
449
449
|
<pre>
|
450
450
|
/*
|
451
451
|
* call-seq:
|
@@ -461,11 +461,11 @@ ruby_xml_attr_last_q(VALUE self) {
|
|
461
461
|
</div>
|
462
462
|
</div>
|
463
463
|
|
464
|
-
<div id="method-
|
465
|
-
<a name="
|
464
|
+
<div id="method-M000243" class="method-detail">
|
465
|
+
<a name="M000243"></a>
|
466
466
|
|
467
467
|
<div class="method-heading">
|
468
|
-
<a href="#
|
468
|
+
<a href="#M000243" class="method-signature">
|
469
469
|
<span class="method-name">attr.name → "name"<br />
|
470
470
|
</span>
|
471
471
|
</a>
|
@@ -476,8 +476,8 @@ ruby_xml_attr_last_q(VALUE self) {
|
|
476
476
|
Obtain this attribute’s name.
|
477
477
|
</p>
|
478
478
|
<p><a class="source-toggle" href="#"
|
479
|
-
onclick="toggleCode('
|
480
|
-
<div class="method-source-code" id="
|
479
|
+
onclick="toggleCode('M000243-source');return false;">[Source]</a></p>
|
480
|
+
<div class="method-source-code" id="M000243-source">
|
481
481
|
<pre>
|
482
482
|
/*
|
483
483
|
* call-seq:
|
@@ -493,11 +493,11 @@ ruby_xml_attr_name_get(VALUE self) {
|
|
493
493
|
</div>
|
494
494
|
</div>
|
495
495
|
|
496
|
-
<div id="method-
|
497
|
-
<a name="
|
496
|
+
<div id="method-M000244" class="method-detail">
|
497
|
+
<a name="M000244"></a>
|
498
498
|
|
499
499
|
<div class="method-heading">
|
500
|
-
<a href="#
|
500
|
+
<a href="#M000244" class="method-signature">
|
501
501
|
<span class="method-name">attr.next → node<br />
|
502
502
|
</span>
|
503
503
|
</a>
|
@@ -508,8 +508,8 @@ ruby_xml_attr_name_get(VALUE self) {
|
|
508
508
|
Obtain the next attribute.
|
509
509
|
</p>
|
510
510
|
<p><a class="source-toggle" href="#"
|
511
|
-
onclick="toggleCode('
|
512
|
-
<div class="method-source-code" id="
|
511
|
+
onclick="toggleCode('M000244-source');return false;">[Source]</a></p>
|
512
|
+
<div class="method-source-code" id="M000244-source">
|
513
513
|
<pre>
|
514
514
|
/*
|
515
515
|
* call-seq:
|
@@ -525,11 +525,11 @@ ruby_xml_attr_next_get(VALUE self) {
|
|
525
525
|
</div>
|
526
526
|
</div>
|
527
527
|
|
528
|
-
<div id="method-
|
529
|
-
<a name="
|
528
|
+
<div id="method-M000245" class="method-detail">
|
529
|
+
<a name="M000245"></a>
|
530
530
|
|
531
531
|
<div class="method-heading">
|
532
|
-
<a href="#
|
532
|
+
<a href="#M000245" class="method-signature">
|
533
533
|
<span class="method-name">attr.next? → (true|false)<br />
|
534
534
|
</span>
|
535
535
|
</a>
|
@@ -540,8 +540,8 @@ ruby_xml_attr_next_get(VALUE self) {
|
|
540
540
|
Determine whether there is a next attribute.
|
541
541
|
</p>
|
542
542
|
<p><a class="source-toggle" href="#"
|
543
|
-
onclick="toggleCode('
|
544
|
-
<div class="method-source-code" id="
|
543
|
+
onclick="toggleCode('M000245-source');return false;">[Source]</a></p>
|
544
|
+
<div class="method-source-code" id="M000245-source">
|
545
545
|
<pre>
|
546
546
|
/*
|
547
547
|
* call-seq:
|
@@ -557,11 +557,11 @@ ruby_xml_attr_next_q(VALUE self) {
|
|
557
557
|
</div>
|
558
558
|
</div>
|
559
559
|
|
560
|
-
<div id="method-
|
561
|
-
<a name="
|
560
|
+
<div id="method-M000246" class="method-detail">
|
561
|
+
<a name="M000246"></a>
|
562
562
|
|
563
563
|
<div class="method-heading">
|
564
|
-
<a href="#
|
564
|
+
<a href="#M000246" class="method-signature">
|
565
565
|
<span class="method-name">attr.type_name → "attribute"<br />
|
566
566
|
</span>
|
567
567
|
</a>
|
@@ -572,8 +572,8 @@ ruby_xml_attr_next_q(VALUE self) {
|
|
572
572
|
Obtain this attribute node’s type name.
|
573
573
|
</p>
|
574
574
|
<p><a class="source-toggle" href="#"
|
575
|
-
onclick="toggleCode('
|
576
|
-
<div class="method-source-code" id="
|
575
|
+
onclick="toggleCode('M000246-source');return false;">[Source]</a></p>
|
576
|
+
<div class="method-source-code" id="M000246-source">
|
577
577
|
<pre>
|
578
578
|
/*
|
579
579
|
* call-seq:
|
@@ -589,11 +589,11 @@ ruby_xml_attr_node_type_name(VALUE self) {
|
|
589
589
|
</div>
|
590
590
|
</div>
|
591
591
|
|
592
|
-
<div id="method-
|
593
|
-
<a name="
|
592
|
+
<div id="method-M000247" class="method-detail">
|
593
|
+
<a name="M000247"></a>
|
594
594
|
|
595
595
|
<div class="method-heading">
|
596
|
-
<a href="#
|
596
|
+
<a href="#M000247" class="method-signature">
|
597
597
|
<span class="method-name">attr.ns → namespace<br />
|
598
598
|
</span>
|
599
599
|
</a>
|
@@ -605,8 +605,8 @@ Obtain this attribute’s associated <a href="NS.html">XML::NS</a>, if
|
|
605
605
|
any.
|
606
606
|
</p>
|
607
607
|
<p><a class="source-toggle" href="#"
|
608
|
-
onclick="toggleCode('
|
609
|
-
<div class="method-source-code" id="
|
608
|
+
onclick="toggleCode('M000247-source');return false;">[Source]</a></p>
|
609
|
+
<div class="method-source-code" id="M000247-source">
|
610
610
|
<pre>
|
611
611
|
/*
|
612
612
|
* call-seq:
|
@@ -622,11 +622,11 @@ ruby_xml_attr_ns_get(VALUE self) {
|
|
622
622
|
</div>
|
623
623
|
</div>
|
624
624
|
|
625
|
-
<div id="method-
|
626
|
-
<a name="
|
625
|
+
<div id="method-M000248" class="method-detail">
|
626
|
+
<a name="M000248"></a>
|
627
627
|
|
628
628
|
<div class="method-heading">
|
629
|
-
<a href="#
|
629
|
+
<a href="#M000248" class="method-signature">
|
630
630
|
<span class="method-name">attr.ns? → (true|false)<br />
|
631
631
|
</span>
|
632
632
|
</a>
|
@@ -637,8 +637,8 @@ ruby_xml_attr_ns_get(VALUE self) {
|
|
637
637
|
Determine whether this attribute has an associated namespace.
|
638
638
|
</p>
|
639
639
|
<p><a class="source-toggle" href="#"
|
640
|
-
onclick="toggleCode('
|
641
|
-
<div class="method-source-code" id="
|
640
|
+
onclick="toggleCode('M000248-source');return false;">[Source]</a></p>
|
641
|
+
<div class="method-source-code" id="M000248-source">
|
642
642
|
<pre>
|
643
643
|
/*
|
644
644
|
* call-seq:
|
@@ -655,11 +655,11 @@ ruby_xml_attr_ns_q(VALUE self) {
|
|
655
655
|
</div>
|
656
656
|
</div>
|
657
657
|
|
658
|
-
<div id="method-
|
659
|
-
<a name="
|
658
|
+
<div id="method-M000249" class="method-detail">
|
659
|
+
<a name="M000249"></a>
|
660
660
|
|
661
661
|
<div class="method-heading">
|
662
|
-
<a href="#
|
662
|
+
<a href="#M000249" class="method-signature">
|
663
663
|
<span class="method-name">attr.parent → node<br />
|
664
664
|
</span>
|
665
665
|
</a>
|
@@ -670,8 +670,8 @@ ruby_xml_attr_ns_q(VALUE self) {
|
|
670
670
|
Obtain this attribute node’s parent.
|
671
671
|
</p>
|
672
672
|
<p><a class="source-toggle" href="#"
|
673
|
-
onclick="toggleCode('
|
674
|
-
<div class="method-source-code" id="
|
673
|
+
onclick="toggleCode('M000249-source');return false;">[Source]</a></p>
|
674
|
+
<div class="method-source-code" id="M000249-source">
|
675
675
|
<pre>
|
676
676
|
/*
|
677
677
|
* call-seq:
|
@@ -687,11 +687,11 @@ ruby_xml_attr_parent_get(VALUE self) {
|
|
687
687
|
</div>
|
688
688
|
</div>
|
689
689
|
|
690
|
-
<div id="method-
|
691
|
-
<a name="
|
690
|
+
<div id="method-M000250" class="method-detail">
|
691
|
+
<a name="M000250"></a>
|
692
692
|
|
693
693
|
<div class="method-heading">
|
694
|
-
<a href="#
|
694
|
+
<a href="#M000250" class="method-signature">
|
695
695
|
<span class="method-name">attr.parent? → (true|false)<br />
|
696
696
|
</span>
|
697
697
|
</a>
|
@@ -702,8 +702,8 @@ ruby_xml_attr_parent_get(VALUE self) {
|
|
702
702
|
Determine whether this attribute has a parent.
|
703
703
|
</p>
|
704
704
|
<p><a class="source-toggle" href="#"
|
705
|
-
onclick="toggleCode('
|
706
|
-
<div class="method-source-code" id="
|
705
|
+
onclick="toggleCode('M000250-source');return false;">[Source]</a></p>
|
706
|
+
<div class="method-source-code" id="M000250-source">
|
707
707
|
<pre>
|
708
708
|
/*
|
709
709
|
* call-seq:
|
@@ -719,11 +719,11 @@ ruby_xml_attr_parent_q(VALUE self) {
|
|
719
719
|
</div>
|
720
720
|
</div>
|
721
721
|
|
722
|
-
<div id="method-
|
723
|
-
<a name="
|
722
|
+
<div id="method-M000251" class="method-detail">
|
723
|
+
<a name="M000251"></a>
|
724
724
|
|
725
725
|
<div class="method-heading">
|
726
|
-
<a href="#
|
726
|
+
<a href="#M000251" class="method-signature">
|
727
727
|
<span class="method-name">attr.prev → node<br />
|
728
728
|
</span>
|
729
729
|
</a>
|
@@ -734,8 +734,8 @@ ruby_xml_attr_parent_q(VALUE self) {
|
|
734
734
|
Obtain the previous attribute.
|
735
735
|
</p>
|
736
736
|
<p><a class="source-toggle" href="#"
|
737
|
-
onclick="toggleCode('
|
738
|
-
<div class="method-source-code" id="
|
737
|
+
onclick="toggleCode('M000251-source');return false;">[Source]</a></p>
|
738
|
+
<div class="method-source-code" id="M000251-source">
|
739
739
|
<pre>
|
740
740
|
/*
|
741
741
|
* call-seq:
|
@@ -751,11 +751,11 @@ ruby_xml_attr_prev_get(VALUE self) {
|
|
751
751
|
</div>
|
752
752
|
</div>
|
753
753
|
|
754
|
-
<div id="method-
|
755
|
-
<a name="
|
754
|
+
<div id="method-M000252" class="method-detail">
|
755
|
+
<a name="M000252"></a>
|
756
756
|
|
757
757
|
<div class="method-heading">
|
758
|
-
<a href="#
|
758
|
+
<a href="#M000252" class="method-signature">
|
759
759
|
<span class="method-name">attr.prev? → (true|false)<br />
|
760
760
|
</span>
|
761
761
|
</a>
|
@@ -766,8 +766,8 @@ ruby_xml_attr_prev_get(VALUE self) {
|
|
766
766
|
Determine whether there is a previous attribute.
|
767
767
|
</p>
|
768
768
|
<p><a class="source-toggle" href="#"
|
769
|
-
onclick="toggleCode('
|
770
|
-
<div class="method-source-code" id="
|
769
|
+
onclick="toggleCode('M000252-source');return false;">[Source]</a></p>
|
770
|
+
<div class="method-source-code" id="M000252-source">
|
771
771
|
<pre>
|
772
772
|
/*
|
773
773
|
* call-seq:
|
@@ -783,11 +783,11 @@ ruby_xml_attr_prev_q(VALUE self) {
|
|
783
783
|
</div>
|
784
784
|
</div>
|
785
785
|
|
786
|
-
<div id="method-
|
787
|
-
<a name="
|
786
|
+
<div id="method-M000253" class="method-detail">
|
787
|
+
<a name="M000253"></a>
|
788
788
|
|
789
789
|
<div class="method-heading">
|
790
|
-
<a href="#
|
790
|
+
<a href="#M000253" class="method-signature">
|
791
791
|
<span class="method-name">node.remove! → nil<br />
|
792
792
|
</span>
|
793
793
|
</a>
|
@@ -798,8 +798,8 @@ ruby_xml_attr_prev_q(VALUE self) {
|
|
798
798
|
Removes this attribute from it’s parent.
|
799
799
|
</p>
|
800
800
|
<p><a class="source-toggle" href="#"
|
801
|
-
onclick="toggleCode('
|
802
|
-
<div class="method-source-code" id="
|
801
|
+
onclick="toggleCode('M000253-source');return false;">[Source]</a></p>
|
802
|
+
<div class="method-source-code" id="M000253-source">
|
803
803
|
<pre>
|
804
804
|
/*
|
805
805
|
* call-seq:
|
@@ -815,11 +815,11 @@ ruby_xml_attr_remove_ex(VALUE self) {
|
|
815
815
|
</div>
|
816
816
|
</div>
|
817
817
|
|
818
|
-
<div id="method-
|
819
|
-
<a name="
|
818
|
+
<div id="method-M000256" class="method-detail">
|
819
|
+
<a name="M000256"></a>
|
820
820
|
|
821
821
|
<div class="method-heading">
|
822
|
-
<a href="#
|
822
|
+
<a href="#M000256" class="method-signature">
|
823
823
|
<span class="method-name">siblings</span><span class="method-args">(node, &blk)</span>
|
824
824
|
</a>
|
825
825
|
</div>
|
@@ -829,8 +829,8 @@ ruby_xml_attr_remove_ex(VALUE self) {
|
|
829
829
|
Iterates nodes and attributes
|
830
830
|
</p>
|
831
831
|
<p><a class="source-toggle" href="#"
|
832
|
-
onclick="toggleCode('
|
833
|
-
<div class="method-source-code" id="
|
832
|
+
onclick="toggleCode('M000256-source');return false;">[Source]</a></p>
|
833
|
+
<div class="method-source-code" id="M000256-source">
|
834
834
|
<pre>
|
835
835
|
<span class="ruby-comment cmt"># File lib/libxml/attr.rb, line 10</span>
|
836
836
|
10: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">siblings</span>(<span class="ruby-identifier">node</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">blk</span>)
|
@@ -846,19 +846,19 @@ Iterates nodes and attributes
|
|
846
846
|
</div>
|
847
847
|
</div>
|
848
848
|
|
849
|
-
<div id="method-
|
850
|
-
<a name="
|
849
|
+
<div id="method-M000261" class="method-detail">
|
850
|
+
<a name="M000261"></a>
|
851
851
|
|
852
852
|
<div class="method-heading">
|
853
|
-
<a href="#
|
853
|
+
<a href="#M000261" class="method-signature">
|
854
854
|
<span class="method-name">to_a</span><span class="method-args">()</span>
|
855
855
|
</a>
|
856
856
|
</div>
|
857
857
|
|
858
858
|
<div class="method-description">
|
859
859
|
<p><a class="source-toggle" href="#"
|
860
|
-
onclick="toggleCode('
|
861
|
-
<div class="method-source-code" id="
|
860
|
+
onclick="toggleCode('M000261-source');return false;">[Source]</a></p>
|
861
|
+
<div class="method-source-code" id="M000261-source">
|
862
862
|
<pre>
|
863
863
|
<span class="ruby-comment cmt"># File lib/libxml/attr.rb, line 33</span>
|
864
864
|
33: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
|
@@ -872,19 +872,19 @@ Iterates nodes and attributes
|
|
872
872
|
</div>
|
873
873
|
</div>
|
874
874
|
|
875
|
-
<div id="method-
|
876
|
-
<a name="
|
875
|
+
<div id="method-M000260" class="method-detail">
|
876
|
+
<a name="M000260"></a>
|
877
877
|
|
878
878
|
<div class="method-heading">
|
879
|
-
<a href="#
|
879
|
+
<a href="#M000260" class="method-signature">
|
880
880
|
<span class="method-name">to_h</span><span class="method-args">()</span>
|
881
881
|
</a>
|
882
882
|
</div>
|
883
883
|
|
884
884
|
<div class="method-description">
|
885
885
|
<p><a class="source-toggle" href="#"
|
886
|
-
onclick="toggleCode('
|
887
|
-
<div class="method-source-code" id="
|
886
|
+
onclick="toggleCode('M000260-source');return false;">[Source]</a></p>
|
887
|
+
<div class="method-source-code" id="M000260-source">
|
888
888
|
<pre>
|
889
889
|
<span class="ruby-comment cmt"># File lib/libxml/attr.rb, line 26</span>
|
890
890
|
26: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>
|
@@ -898,19 +898,19 @@ Iterates nodes and attributes
|
|
898
898
|
</div>
|
899
899
|
</div>
|
900
900
|
|
901
|
-
<div id="method-
|
902
|
-
<a name="
|
901
|
+
<div id="method-M000262" class="method-detail">
|
902
|
+
<a name="M000262"></a>
|
903
903
|
|
904
904
|
<div class="method-heading">
|
905
|
-
<a href="#
|
905
|
+
<a href="#M000262" class="method-signature">
|
906
906
|
<span class="method-name">to_s</span><span class="method-args">()</span>
|
907
907
|
</a>
|
908
908
|
</div>
|
909
909
|
|
910
910
|
<div class="method-description">
|
911
911
|
<p><a class="source-toggle" href="#"
|
912
|
-
onclick="toggleCode('
|
913
|
-
<div class="method-source-code" id="
|
912
|
+
onclick="toggleCode('M000262-source');return false;">[Source]</a></p>
|
913
|
+
<div class="method-source-code" id="M000262-source">
|
914
914
|
<pre>
|
915
915
|
<span class="ruby-comment cmt"># File lib/libxml/attr.rb, line 40</span>
|
916
916
|
40: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
@@ -921,11 +921,11 @@ Iterates nodes and attributes
|
|
921
921
|
</div>
|
922
922
|
</div>
|
923
923
|
|
924
|
-
<div id="method-
|
925
|
-
<a name="
|
924
|
+
<div id="method-M000254" class="method-detail">
|
925
|
+
<a name="M000254"></a>
|
926
926
|
|
927
927
|
<div class="method-heading">
|
928
|
-
<a href="#
|
928
|
+
<a href="#M000254" class="method-signature">
|
929
929
|
<span class="method-name">attr.value → "value"<br />
|
930
930
|
</span>
|
931
931
|
</a>
|
@@ -936,8 +936,8 @@ Iterates nodes and attributes
|
|
936
936
|
Obtain the value of this attribute.
|
937
937
|
</p>
|
938
938
|
<p><a class="source-toggle" href="#"
|
939
|
-
onclick="toggleCode('
|
940
|
-
<div class="method-source-code" id="
|
939
|
+
onclick="toggleCode('M000254-source');return false;">[Source]</a></p>
|
940
|
+
<div class="method-source-code" id="M000254-source">
|
941
941
|
<pre>
|
942
942
|
/*
|
943
943
|
* call-seq:
|
@@ -953,11 +953,11 @@ ruby_xml_attr_value_get(VALUE self) {
|
|
953
953
|
</div>
|
954
954
|
</div>
|
955
955
|
|
956
|
-
<div id="method-
|
957
|
-
<a name="
|
956
|
+
<div id="method-M000255" class="method-detail">
|
957
|
+
<a name="M000255"></a>
|
958
958
|
|
959
959
|
<div class="method-heading">
|
960
|
-
<a href="#
|
960
|
+
<a href="#M000255" class="method-signature">
|
961
961
|
<span class="method-name">attr.value = "value"<br />
|
962
962
|
</span>
|
963
963
|
</a>
|
@@ -968,8 +968,8 @@ ruby_xml_attr_value_get(VALUE self) {
|
|
968
968
|
Sets the value of this attribute.
|
969
969
|
</p>
|
970
970
|
<p><a class="source-toggle" href="#"
|
971
|
-
onclick="toggleCode('
|
972
|
-
<div class="method-source-code" id="
|
971
|
+
onclick="toggleCode('M000255-source');return false;">[Source]</a></p>
|
972
|
+
<div class="method-source-code" id="M000255-source">
|
973
973
|
<pre>
|
974
974
|
/*
|
975
975
|
* call-seq:
|