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
@@ -0,0 +1,178 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: LibXML::XML</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">LibXML::XML</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/ext/libxml/libxml_c.html">
59
+ ext/libxml/libxml.c
60
+ </a>
61
+ <br />
62
+ <a href="../../files/lib/libxml/attr_rb.html">
63
+ lib/libxml/attr.rb
64
+ </a>
65
+ <br />
66
+ <a href="../../files/lib/libxml/attributes_rb.html">
67
+ lib/libxml/attributes.rb
68
+ </a>
69
+ <br />
70
+ <a href="../../files/lib/libxml/document_rb.html">
71
+ lib/libxml/document.rb
72
+ </a>
73
+ <br />
74
+ <a href="../../files/lib/libxml/node_rb.html">
75
+ lib/libxml/node.rb
76
+ </a>
77
+ <br />
78
+ <a href="../../files/lib/libxml/node_set_rb.html">
79
+ lib/libxml/node_set.rb
80
+ </a>
81
+ <br />
82
+ <a href="../../files/lib/libxml/parser_rb.html">
83
+ lib/libxml/parser.rb
84
+ </a>
85
+ <br />
86
+ <a href="../../files/lib/libxml/parser_options_rb.html">
87
+ lib/libxml/parser_options.rb
88
+ </a>
89
+ <br />
90
+ <a href="../../files/lib/libxml/properties_rb.html">
91
+ lib/libxml/properties.rb
92
+ </a>
93
+ <br />
94
+ <a href="../../files/lib/libxml/tree_rb.html">
95
+ lib/libxml/tree.rb
96
+ </a>
97
+ <br />
98
+ </td>
99
+ </tr>
100
+
101
+ </table>
102
+ </div>
103
+ <!-- banner header -->
104
+
105
+ <div id="bodyContent">
106
+
107
+
108
+
109
+ <div id="contextContent">
110
+
111
+
112
+
113
+ </div>
114
+
115
+
116
+ </div>
117
+
118
+
119
+ <!-- if includes -->
120
+
121
+ <div id="section">
122
+
123
+ <div id="class-list">
124
+ <h3 class="section-bar">Classes and Modules</h3>
125
+
126
+ Module <a href="XML/XMLParserOptions.html" class="link">LibXML::XML::XMLParserOptions</a><br />
127
+ Module <a href="XML/XPath.html" class="link">LibXML::XML::XPath</a><br />
128
+ Class <a href="XML/Attr.html" class="link">LibXML::XML::Attr</a><br />
129
+ Class <a href="XML/Attributes.html" class="link">LibXML::XML::Attributes</a><br />
130
+ Class <a href="XML/Document.html" class="link">LibXML::XML::Document</a><br />
131
+ Class <a href="XML/Dtd.html" class="link">LibXML::XML::Dtd</a><br />
132
+ Class <a href="XML/Error.html" class="link">LibXML::XML::Error</a><br />
133
+ Class <a href="XML/HTMLParser.html" class="link">LibXML::XML::HTMLParser</a><br />
134
+ Class <a href="XML/InputCallbacks.html" class="link">LibXML::XML::InputCallbacks</a><br />
135
+ Class <a href="XML/NS.html" class="link">LibXML::XML::NS</a><br />
136
+ Class <a href="XML/Node.html" class="link">LibXML::XML::Node</a><br />
137
+ Class <a href="XML/Parser.html" class="link">LibXML::XML::Parser</a><br />
138
+ Class <a href="XML/Reader.html" class="link">LibXML::XML::Reader</a><br />
139
+ Class <a href="XML/SaxParser.html" class="link">LibXML::XML::SaxParser</a><br />
140
+ Class <a href="XML/Schema.html" class="link">LibXML::XML::Schema</a><br />
141
+ Class <a href="XML/State.html" class="link">LibXML::XML::State</a><br />
142
+ Class <a href="XML/Tree.html" class="link">LibXML::XML::Tree</a><br />
143
+ Class <a href="XML/XInclude.html" class="link">LibXML::XML::XInclude</a><br />
144
+ Class <a href="XML/XPointer.html" class="link">LibXML::XML::XPointer</a><br />
145
+
146
+ </div>
147
+
148
+ <div id="constants-list">
149
+ <h3 class="section-bar">Constants</h3>
150
+
151
+ <div class="name-list">
152
+ <table summary="Constants">
153
+ <tr class="top-aligned-row context-row">
154
+ <td class="context-item-name">XML_NAMESPACE</td>
155
+ <td>=</td>
156
+ <td class="context-item-value">rb_str_new2((const char*)XML_XML_NAMESPACE)</td>
157
+ </tr>
158
+ </table>
159
+ </div>
160
+ </div>
161
+
162
+
163
+
164
+
165
+
166
+
167
+ <!-- if method_list -->
168
+
169
+
170
+ </div>
171
+
172
+
173
+ <div id="validator-badges">
174
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
175
+ </div>
176
+
177
+ </body>
178
+ </html>
@@ -5,10 +5,10 @@
5
5
 
6
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
7
  <head>
8
- <title>Class: XML::Attr</title>
8
+ <title>Class: LibXML::XML::Attr</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,17 @@
50
50
  <table class="header-table">
51
51
  <tr class="top-aligned-row">
52
52
  <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">XML::Attr</td>
53
+ <td class="class-name-in-header">LibXML::XML::Attr</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/attr_rb.html">
63
+ lib/libxml/attr.rb
64
64
  </a>
65
65
  <br />
66
66
  </td>
@@ -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#M000103">XML::Node#attributes</a> method.
88
+ href="Node.html#M000131">XML::Node#attributes</a> method.
89
89
  </p>
90
90
  <p>
91
91
  Basic Usage:
@@ -109,32 +109,33 @@ Basic Usage:
109
109
  <h3 class="section-bar">Methods</h3>
110
110
 
111
111
  <div class="name-list">
112
- <a href="#M000213">child</a>&nbsp;&nbsp;
113
- <a href="#M000214">child?</a>&nbsp;&nbsp;
114
- <a href="#M000215">doc</a>&nbsp;&nbsp;
115
- <a href="#M000216">doc?</a>&nbsp;&nbsp;
116
- <a href="#M000234">each</a>&nbsp;&nbsp;
117
- <a href="#M000233">each_attr</a>&nbsp;&nbsp;
118
- <a href="#M000232">each_sibling</a>&nbsp;&nbsp;
119
- <a href="#M000217">last</a>&nbsp;&nbsp;
120
- <a href="#M000218">last?</a>&nbsp;&nbsp;
121
- <a href="#M000219">name</a>&nbsp;&nbsp;
122
- <a href="#M000212">new</a>&nbsp;&nbsp;
123
- <a href="#M000220">next</a>&nbsp;&nbsp;
124
- <a href="#M000221">next?</a>&nbsp;&nbsp;
125
- <a href="#M000222">node_type_name</a>&nbsp;&nbsp;
126
- <a href="#M000223">ns</a>&nbsp;&nbsp;
127
- <a href="#M000224">ns?</a>&nbsp;&nbsp;
128
- <a href="#M000225">parent</a>&nbsp;&nbsp;
129
- <a href="#M000226">parent?</a>&nbsp;&nbsp;
130
- <a href="#M000227">prev</a>&nbsp;&nbsp;
131
- <a href="#M000228">prev?</a>&nbsp;&nbsp;
132
- <a href="#M000229">remove!</a>&nbsp;&nbsp;
133
- <a href="#M000236">to_a</a>&nbsp;&nbsp;
134
- <a href="#M000235">to_h</a>&nbsp;&nbsp;
135
- <a href="#M000237">to_s</a>&nbsp;&nbsp;
136
- <a href="#M000230">value</a>&nbsp;&nbsp;
137
- <a href="#M000231">value=</a>&nbsp;&nbsp;
112
+ <a href="#M000238">child</a>&nbsp;&nbsp;
113
+ <a href="#M000239">child?</a>&nbsp;&nbsp;
114
+ <a href="#M000240">doc</a>&nbsp;&nbsp;
115
+ <a href="#M000241">doc?</a>&nbsp;&nbsp;
116
+ <a href="#M000260">each</a>&nbsp;&nbsp;
117
+ <a href="#M000259">each_attr</a>&nbsp;&nbsp;
118
+ <a href="#M000258">each_sibling</a>&nbsp;&nbsp;
119
+ <a href="#M000242">last</a>&nbsp;&nbsp;
120
+ <a href="#M000243">last?</a>&nbsp;&nbsp;
121
+ <a href="#M000244">name</a>&nbsp;&nbsp;
122
+ <a href="#M000237">new</a>&nbsp;&nbsp;
123
+ <a href="#M000245">next</a>&nbsp;&nbsp;
124
+ <a href="#M000246">next?</a>&nbsp;&nbsp;
125
+ <a href="#M000247">node_type_name</a>&nbsp;&nbsp;
126
+ <a href="#M000248">ns</a>&nbsp;&nbsp;
127
+ <a href="#M000249">ns?</a>&nbsp;&nbsp;
128
+ <a href="#M000250">parent</a>&nbsp;&nbsp;
129
+ <a href="#M000251">parent?</a>&nbsp;&nbsp;
130
+ <a href="#M000252">prev</a>&nbsp;&nbsp;
131
+ <a href="#M000253">prev?</a>&nbsp;&nbsp;
132
+ <a href="#M000254">remove!</a>&nbsp;&nbsp;
133
+ <a href="#M000257">siblings</a>&nbsp;&nbsp;
134
+ <a href="#M000262">to_a</a>&nbsp;&nbsp;
135
+ <a href="#M000261">to_h</a>&nbsp;&nbsp;
136
+ <a href="#M000263">to_s</a>&nbsp;&nbsp;
137
+ <a href="#M000255">value</a>&nbsp;&nbsp;
138
+ <a href="#M000256">value=</a>&nbsp;&nbsp;
138
139
  </div>
139
140
  </div>
140
141
 
@@ -146,7 +147,6 @@ Basic Usage:
146
147
  <h3 class="section-bar">Included Modules</h3>
147
148
 
148
149
  <div id="includes-list">
149
- <span class="include-name"><a href="SiblingEnum.html">XML::SiblingEnum</a></span>
150
150
  <span class="include-name">Enumerable</span>
151
151
  </div>
152
152
  </div>
@@ -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-M000212" class="method-detail">
168
- <a name="M000212"></a>
167
+ <div id="method-M000237" class="method-detail">
168
+ <a name="M000237"></a>
169
169
 
170
170
  <div class="method-heading">
171
- <a href="#M000212" class="method-signature">
171
+ <a href="#M000237" 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('M000212-source');return false;">[Source]</a></p>
190
- <div class="method-source-code" id="M000212-source">
189
+ onclick="toggleCode('M000237-source');return false;">[Source]</a></p>
190
+ <div class="method-source-code" id="M000237-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-M000213" class="method-detail">
215
- <a name="M000213"></a>
214
+ <div id="method-M000238" class="method-detail">
215
+ <a name="M000238"></a>
216
216
 
217
217
  <div class="method-heading">
218
- <a href="#M000213" class="method-signature">
218
+ <a href="#M000238" class="method-signature">
219
219
  <span class="method-name">attr.child &rarr; 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&#8217;s child attribute(s).
227
227
  </p>
228
228
  <p><a class="source-toggle" href="#"
229
- onclick="toggleCode('M000213-source');return false;">[Source]</a></p>
230
- <div class="method-source-code" id="M000213-source">
229
+ onclick="toggleCode('M000238-source');return false;">[Source]</a></p>
230
+ <div class="method-source-code" id="M000238-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-M000214" class="method-detail">
247
- <a name="M000214"></a>
246
+ <div id="method-M000239" class="method-detail">
247
+ <a name="M000239"></a>
248
248
 
249
249
  <div class="method-heading">
250
- <a href="#M000214" class="method-signature">
250
+ <a href="#M000239" class="method-signature">
251
251
  <span class="method-name">attr.child? &rarr; (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('M000214-source');return false;">[Source]</a></p>
262
- <div class="method-source-code" id="M000214-source">
261
+ onclick="toggleCode('M000239-source');return false;">[Source]</a></p>
262
+ <div class="method-source-code" id="M000239-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-M000215" class="method-detail">
279
- <a name="M000215"></a>
278
+ <div id="method-M000240" class="method-detail">
279
+ <a name="M000240"></a>
280
280
 
281
281
  <div class="method-heading">
282
- <a href="#M000215" class="method-signature">
282
+ <a href="#M000240" class="method-signature">
283
283
  <span class="method-name">attr.doc &rarr; XML::Document<br />
284
284
  </span>
285
285
  </a>
@@ -293,8 +293,8 @@ Returns this attribute&#8217;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('M000215-source');return false;">[Source]</a></p>
297
- <div class="method-source-code" id="M000215-source">
296
+ onclick="toggleCode('M000240-source');return false;">[Source]</a></p>
297
+ <div class="method-source-code" id="M000240-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-M000216" class="method-detail">
316
- <a name="M000216"></a>
315
+ <div id="method-M000241" class="method-detail">
316
+ <a name="M000241"></a>
317
317
 
318
318
  <div class="method-heading">
319
- <a href="#M000216" class="method-signature">
319
+ <a href="#M000241" class="method-signature">
320
320
  <span class="method-name">attr.doc? &rarr; (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('M000216-source');return false;">[Source]</a></p>
332
- <div class="method-source-code" id="M000216-source">
331
+ onclick="toggleCode('M000241-source');return false;">[Source]</a></p>
332
+ <div class="method-source-code" id="M000241-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-M000234" class="method-detail">
350
- <a name="M000234"></a>
349
+ <div id="method-M000260" class="method-detail">
350
+ <a name="M000260"></a>
351
351
 
352
352
  <div class="method-heading">
353
353
  <span class="method-name">each</span><span class="method-args">(&amp;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#M000232">each_sibling</a>
358
+ Alias for <a href="Attr.html#M000258">each_sibling</a>
359
359
  </p>
360
360
  </div>
361
361
  </div>
362
362
 
363
- <div id="method-M000233" class="method-detail">
364
- <a name="M000233"></a>
363
+ <div id="method-M000259" class="method-detail">
364
+ <a name="M000259"></a>
365
365
 
366
366
  <div class="method-heading">
367
367
  <span class="method-name">each_attr</span><span class="method-args">(&amp;blk)</span>
@@ -369,39 +369,39 @@ Alias for <a href="Attr.html#M000232">each_sibling</a>
369
369
 
370
370
  <div class="method-description">
371
371
  <p>
372
- Alias for <a href="Attr.html#M000232">each_sibling</a>
372
+ Alias for <a href="Attr.html#M000258">each_sibling</a>
373
373
  </p>
374
374
  </div>
375
375
  </div>
376
376
 
377
- <div id="method-M000232" class="method-detail">
378
- <a name="M000232"></a>
377
+ <div id="method-M000258" class="method-detail">
378
+ <a name="M000258"></a>
379
379
 
380
380
  <div class="method-heading">
381
- <a href="#M000232" class="method-signature">
381
+ <a href="#M000258" class="method-signature">
382
382
  <span class="method-name">each_sibling</span><span class="method-args">(&amp;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('M000232-source');return false;">[Source]</a></p>
389
- <div class="method-source-code" id="M000232-source">
388
+ onclick="toggleCode('M000258-source');return false;">[Source]</a></p>
389
+ <div class="method-source-code" id="M000258-source">
390
390
  <pre>
391
- <span class="ruby-comment cmt"># File lib/libxml.rb, line 110</span>
392
- 110: <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>)
393
- 111: <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>)
394
- 112: <span class="ruby-keyword kw">end</span>
391
+ <span class="ruby-comment cmt"># File lib/libxml/attr.rb, line 19</span>
392
+ 19: <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>)
393
+ 20: <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>)
394
+ 21: <span class="ruby-keyword kw">end</span>
395
395
  </pre>
396
396
  </div>
397
397
  </div>
398
398
  </div>
399
399
 
400
- <div id="method-M000217" class="method-detail">
401
- <a name="M000217"></a>
400
+ <div id="method-M000242" class="method-detail">
401
+ <a name="M000242"></a>
402
402
 
403
403
  <div class="method-heading">
404
- <a href="#M000217" class="method-signature">
404
+ <a href="#M000242" class="method-signature">
405
405
  <span class="method-name">attr.last &rarr; node<br />
406
406
  </span>
407
407
  </a>
@@ -412,8 +412,8 @@ Alias for <a href="Attr.html#M000232">each_sibling</a>
412
412
  Obtain the last attribute.
413
413
  </p>
414
414
  <p><a class="source-toggle" href="#"
415
- onclick="toggleCode('M000217-source');return false;">[Source]</a></p>
416
- <div class="method-source-code" id="M000217-source">
415
+ onclick="toggleCode('M000242-source');return false;">[Source]</a></p>
416
+ <div class="method-source-code" id="M000242-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-M000218" class="method-detail">
433
- <a name="M000218"></a>
432
+ <div id="method-M000243" class="method-detail">
433
+ <a name="M000243"></a>
434
434
 
435
435
  <div class="method-heading">
436
- <a href="#M000218" class="method-signature">
436
+ <a href="#M000243" class="method-signature">
437
437
  <span class="method-name">attr.last? &rarr; (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('M000218-source');return false;">[Source]</a></p>
448
- <div class="method-source-code" id="M000218-source">
447
+ onclick="toggleCode('M000243-source');return false;">[Source]</a></p>
448
+ <div class="method-source-code" id="M000243-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-M000219" class="method-detail">
465
- <a name="M000219"></a>
464
+ <div id="method-M000244" class="method-detail">
465
+ <a name="M000244"></a>
466
466
 
467
467
  <div class="method-heading">
468
- <a href="#M000219" class="method-signature">
468
+ <a href="#M000244" class="method-signature">
469
469
  <span class="method-name">attr.name &rarr; "name"<br />
470
470
  </span>
471
471
  </a>
@@ -476,8 +476,8 @@ ruby_xml_attr_last_q(VALUE self) {
476
476
  Obtain this attribute&#8217;s name.
477
477
  </p>
478
478
  <p><a class="source-toggle" href="#"
479
- onclick="toggleCode('M000219-source');return false;">[Source]</a></p>
480
- <div class="method-source-code" id="M000219-source">
479
+ onclick="toggleCode('M000244-source');return false;">[Source]</a></p>
480
+ <div class="method-source-code" id="M000244-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-M000220" class="method-detail">
497
- <a name="M000220"></a>
496
+ <div id="method-M000245" class="method-detail">
497
+ <a name="M000245"></a>
498
498
 
499
499
  <div class="method-heading">
500
- <a href="#M000220" class="method-signature">
500
+ <a href="#M000245" class="method-signature">
501
501
  <span class="method-name">attr.next &rarr; 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('M000220-source');return false;">[Source]</a></p>
512
- <div class="method-source-code" id="M000220-source">
511
+ onclick="toggleCode('M000245-source');return false;">[Source]</a></p>
512
+ <div class="method-source-code" id="M000245-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-M000221" class="method-detail">
529
- <a name="M000221"></a>
528
+ <div id="method-M000246" class="method-detail">
529
+ <a name="M000246"></a>
530
530
 
531
531
  <div class="method-heading">
532
- <a href="#M000221" class="method-signature">
532
+ <a href="#M000246" class="method-signature">
533
533
  <span class="method-name">attr.next? &rarr; (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('M000221-source');return false;">[Source]</a></p>
544
- <div class="method-source-code" id="M000221-source">
543
+ onclick="toggleCode('M000246-source');return false;">[Source]</a></p>
544
+ <div class="method-source-code" id="M000246-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-M000222" class="method-detail">
561
- <a name="M000222"></a>
560
+ <div id="method-M000247" class="method-detail">
561
+ <a name="M000247"></a>
562
562
 
563
563
  <div class="method-heading">
564
- <a href="#M000222" class="method-signature">
564
+ <a href="#M000247" class="method-signature">
565
565
  <span class="method-name">attr.type_name &rarr; "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&#8217;s type name.
573
573
  </p>
574
574
  <p><a class="source-toggle" href="#"
575
- onclick="toggleCode('M000222-source');return false;">[Source]</a></p>
576
- <div class="method-source-code" id="M000222-source">
575
+ onclick="toggleCode('M000247-source');return false;">[Source]</a></p>
576
+ <div class="method-source-code" id="M000247-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-M000223" class="method-detail">
593
- <a name="M000223"></a>
592
+ <div id="method-M000248" class="method-detail">
593
+ <a name="M000248"></a>
594
594
 
595
595
  <div class="method-heading">
596
- <a href="#M000223" class="method-signature">
596
+ <a href="#M000248" class="method-signature">
597
597
  <span class="method-name">attr.ns &rarr; namespace<br />
598
598
  </span>
599
599
  </a>
@@ -605,8 +605,8 @@ Obtain this attribute&#8217;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('M000223-source');return false;">[Source]</a></p>
609
- <div class="method-source-code" id="M000223-source">
608
+ onclick="toggleCode('M000248-source');return false;">[Source]</a></p>
609
+ <div class="method-source-code" id="M000248-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-M000224" class="method-detail">
626
- <a name="M000224"></a>
625
+ <div id="method-M000249" class="method-detail">
626
+ <a name="M000249"></a>
627
627
 
628
628
  <div class="method-heading">
629
- <a href="#M000224" class="method-signature">
629
+ <a href="#M000249" class="method-signature">
630
630
  <span class="method-name">attr.ns? &rarr; (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('M000224-source');return false;">[Source]</a></p>
641
- <div class="method-source-code" id="M000224-source">
640
+ onclick="toggleCode('M000249-source');return false;">[Source]</a></p>
641
+ <div class="method-source-code" id="M000249-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-M000225" class="method-detail">
659
- <a name="M000225"></a>
658
+ <div id="method-M000250" class="method-detail">
659
+ <a name="M000250"></a>
660
660
 
661
661
  <div class="method-heading">
662
- <a href="#M000225" class="method-signature">
662
+ <a href="#M000250" class="method-signature">
663
663
  <span class="method-name">attr.parent &rarr; 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&#8217;s parent.
671
671
  </p>
672
672
  <p><a class="source-toggle" href="#"
673
- onclick="toggleCode('M000225-source');return false;">[Source]</a></p>
674
- <div class="method-source-code" id="M000225-source">
673
+ onclick="toggleCode('M000250-source');return false;">[Source]</a></p>
674
+ <div class="method-source-code" id="M000250-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-M000226" class="method-detail">
691
- <a name="M000226"></a>
690
+ <div id="method-M000251" class="method-detail">
691
+ <a name="M000251"></a>
692
692
 
693
693
  <div class="method-heading">
694
- <a href="#M000226" class="method-signature">
694
+ <a href="#M000251" class="method-signature">
695
695
  <span class="method-name">attr.parent? &rarr; (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('M000226-source');return false;">[Source]</a></p>
706
- <div class="method-source-code" id="M000226-source">
705
+ onclick="toggleCode('M000251-source');return false;">[Source]</a></p>
706
+ <div class="method-source-code" id="M000251-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-M000227" class="method-detail">
723
- <a name="M000227"></a>
722
+ <div id="method-M000252" class="method-detail">
723
+ <a name="M000252"></a>
724
724
 
725
725
  <div class="method-heading">
726
- <a href="#M000227" class="method-signature">
726
+ <a href="#M000252" class="method-signature">
727
727
  <span class="method-name">attr.prev &rarr; 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('M000227-source');return false;">[Source]</a></p>
738
- <div class="method-source-code" id="M000227-source">
737
+ onclick="toggleCode('M000252-source');return false;">[Source]</a></p>
738
+ <div class="method-source-code" id="M000252-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-M000228" class="method-detail">
755
- <a name="M000228"></a>
754
+ <div id="method-M000253" class="method-detail">
755
+ <a name="M000253"></a>
756
756
 
757
757
  <div class="method-heading">
758
- <a href="#M000228" class="method-signature">
758
+ <a href="#M000253" class="method-signature">
759
759
  <span class="method-name">attr.prev? &rarr; (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('M000228-source');return false;">[Source]</a></p>
770
- <div class="method-source-code" id="M000228-source">
769
+ onclick="toggleCode('M000253-source');return false;">[Source]</a></p>
770
+ <div class="method-source-code" id="M000253-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-M000229" class="method-detail">
787
- <a name="M000229"></a>
786
+ <div id="method-M000254" class="method-detail">
787
+ <a name="M000254"></a>
788
788
 
789
789
  <div class="method-heading">
790
- <a href="#M000229" class="method-signature">
790
+ <a href="#M000254" class="method-signature">
791
791
  <span class="method-name">node.remove! &rarr; 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&#8217;s parent.
799
799
  </p>
800
800
  <p><a class="source-toggle" href="#"
801
- onclick="toggleCode('M000229-source');return false;">[Source]</a></p>
802
- <div class="method-source-code" id="M000229-source">
801
+ onclick="toggleCode('M000254-source');return false;">[Source]</a></p>
802
+ <div class="method-source-code" id="M000254-source">
803
803
  <pre>
804
804
  /*
805
805
  * call-seq:
@@ -815,86 +815,117 @@ ruby_xml_attr_remove_ex(VALUE self) {
815
815
  </div>
816
816
  </div>
817
817
 
818
- <div id="method-M000236" class="method-detail">
819
- <a name="M000236"></a>
818
+ <div id="method-M000257" class="method-detail">
819
+ <a name="M000257"></a>
820
820
 
821
821
  <div class="method-heading">
822
- <a href="#M000236" class="method-signature">
822
+ <a href="#M000257" class="method-signature">
823
+ <span class="method-name">siblings</span><span class="method-args">(node, &amp;blk)</span>
824
+ </a>
825
+ </div>
826
+
827
+ <div class="method-description">
828
+ <p>
829
+ Iterates nodes and attributes
830
+ </p>
831
+ <p><a class="source-toggle" href="#"
832
+ onclick="toggleCode('M000257-source');return false;">[Source]</a></p>
833
+ <div class="method-source-code" id="M000257-source">
834
+ <pre>
835
+ <span class="ruby-comment cmt"># File lib/libxml/attr.rb, line 10</span>
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">&amp;</span><span class="ruby-identifier">blk</span>)
837
+ 11: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span> = <span class="ruby-identifier">node</span>
838
+ 12: <span class="ruby-identifier">loop</span> <span class="ruby-keyword kw">do</span>
839
+ 13: <span class="ruby-identifier">blk</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">n</span>)
840
+ 14: <span class="ruby-keyword kw">break</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">n</span> = <span class="ruby-identifier">n</span>.<span class="ruby-identifier">next</span>
841
+ 15: <span class="ruby-keyword kw">end</span>
842
+ 16: <span class="ruby-keyword kw">end</span>
843
+ 17: <span class="ruby-keyword kw">end</span>
844
+ </pre>
845
+ </div>
846
+ </div>
847
+ </div>
848
+
849
+ <div id="method-M000262" class="method-detail">
850
+ <a name="M000262"></a>
851
+
852
+ <div class="method-heading">
853
+ <a href="#M000262" class="method-signature">
823
854
  <span class="method-name">to_a</span><span class="method-args">()</span>
824
855
  </a>
825
856
  </div>
826
857
 
827
858
  <div class="method-description">
828
859
  <p><a class="source-toggle" href="#"
829
- onclick="toggleCode('M000236-source');return false;">[Source]</a></p>
830
- <div class="method-source-code" id="M000236-source">
860
+ onclick="toggleCode('M000262-source');return false;">[Source]</a></p>
861
+ <div class="method-source-code" id="M000262-source">
831
862
  <pre>
832
- <span class="ruby-comment cmt"># File lib/libxml.rb, line 124</span>
833
- 124: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
834
- 125: <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">a</span><span class="ruby-operator">|</span>
835
- 126: <span class="ruby-identifier">ary</span> <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-identifier">a</span>.<span class="ruby-identifier">name</span>, <span class="ruby-identifier">a</span>.<span class="ruby-identifier">value</span>]
836
- 127: <span class="ruby-identifier">ary</span>
837
- 128: <span class="ruby-keyword kw">end</span>
838
- 129: <span class="ruby-keyword kw">end</span>
863
+ <span class="ruby-comment cmt"># File lib/libxml/attr.rb, line 33</span>
864
+ 33: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_a</span>
865
+ 34: <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">a</span><span class="ruby-operator">|</span>
866
+ 35: <span class="ruby-identifier">ary</span> <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-identifier">a</span>.<span class="ruby-identifier">name</span>, <span class="ruby-identifier">a</span>.<span class="ruby-identifier">value</span>]
867
+ 36: <span class="ruby-identifier">ary</span>
868
+ 37: <span class="ruby-keyword kw">end</span>
869
+ 38: <span class="ruby-keyword kw">end</span>
839
870
  </pre>
840
871
  </div>
841
872
  </div>
842
873
  </div>
843
874
 
844
- <div id="method-M000235" class="method-detail">
845
- <a name="M000235"></a>
875
+ <div id="method-M000261" class="method-detail">
876
+ <a name="M000261"></a>
846
877
 
847
878
  <div class="method-heading">
848
- <a href="#M000235" class="method-signature">
879
+ <a href="#M000261" class="method-signature">
849
880
  <span class="method-name">to_h</span><span class="method-args">()</span>
850
881
  </a>
851
882
  </div>
852
883
 
853
884
  <div class="method-description">
854
885
  <p><a class="source-toggle" href="#"
855
- onclick="toggleCode('M000235-source');return false;">[Source]</a></p>
856
- <div class="method-source-code" id="M000235-source">
886
+ onclick="toggleCode('M000261-source');return false;">[Source]</a></p>
887
+ <div class="method-source-code" id="M000261-source">
857
888
  <pre>
858
- <span class="ruby-comment cmt"># File lib/libxml.rb, line 117</span>
859
- 117: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>
860
- 118: <span class="ruby-identifier">inject</span>({}) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">h</span>,<span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
861
- 119: <span class="ruby-identifier">h</span>[<span class="ruby-identifier">a</span>.<span class="ruby-identifier">name</span>] = <span class="ruby-identifier">a</span>.<span class="ruby-identifier">value</span>
862
- 120: <span class="ruby-identifier">h</span>
863
- 121: <span class="ruby-keyword kw">end</span>
864
- 122: <span class="ruby-keyword kw">end</span>
889
+ <span class="ruby-comment cmt"># File lib/libxml/attr.rb, line 26</span>
890
+ 26: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>
891
+ 27: <span class="ruby-identifier">inject</span>({}) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">h</span>,<span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
892
+ 28: <span class="ruby-identifier">h</span>[<span class="ruby-identifier">a</span>.<span class="ruby-identifier">name</span>] = <span class="ruby-identifier">a</span>.<span class="ruby-identifier">value</span>
893
+ 29: <span class="ruby-identifier">h</span>
894
+ 30: <span class="ruby-keyword kw">end</span>
895
+ 31: <span class="ruby-keyword kw">end</span>
865
896
  </pre>
866
897
  </div>
867
898
  </div>
868
899
  </div>
869
900
 
870
- <div id="method-M000237" class="method-detail">
871
- <a name="M000237"></a>
901
+ <div id="method-M000263" class="method-detail">
902
+ <a name="M000263"></a>
872
903
 
873
904
  <div class="method-heading">
874
- <a href="#M000237" class="method-signature">
905
+ <a href="#M000263" class="method-signature">
875
906
  <span class="method-name">to_s</span><span class="method-args">()</span>
876
907
  </a>
877
908
  </div>
878
909
 
879
910
  <div class="method-description">
880
911
  <p><a class="source-toggle" href="#"
881
- onclick="toggleCode('M000237-source');return false;">[Source]</a></p>
882
- <div class="method-source-code" id="M000237-source">
912
+ onclick="toggleCode('M000263-source');return false;">[Source]</a></p>
913
+ <div class="method-source-code" id="M000263-source">
883
914
  <pre>
884
- <span class="ruby-comment cmt"># File lib/libxml.rb, line 131</span>
885
- 131: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
886
- 132: <span class="ruby-node">&quot;#{name} = #{value}&quot;</span>
887
- 133: <span class="ruby-keyword kw">end</span>
915
+ <span class="ruby-comment cmt"># File lib/libxml/attr.rb, line 40</span>
916
+ 40: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
917
+ 41: <span class="ruby-node">&quot;#{name} = #{value}&quot;</span>
918
+ 42: <span class="ruby-keyword kw">end</span>
888
919
  </pre>
889
920
  </div>
890
921
  </div>
891
922
  </div>
892
923
 
893
- <div id="method-M000230" class="method-detail">
894
- <a name="M000230"></a>
924
+ <div id="method-M000255" class="method-detail">
925
+ <a name="M000255"></a>
895
926
 
896
927
  <div class="method-heading">
897
- <a href="#M000230" class="method-signature">
928
+ <a href="#M000255" class="method-signature">
898
929
  <span class="method-name">attr.value &rarr; "value"<br />
899
930
  </span>
900
931
  </a>
@@ -905,8 +936,8 @@ ruby_xml_attr_remove_ex(VALUE self) {
905
936
  Obtain the value of this attribute.
906
937
  </p>
907
938
  <p><a class="source-toggle" href="#"
908
- onclick="toggleCode('M000230-source');return false;">[Source]</a></p>
909
- <div class="method-source-code" id="M000230-source">
939
+ onclick="toggleCode('M000255-source');return false;">[Source]</a></p>
940
+ <div class="method-source-code" id="M000255-source">
910
941
  <pre>
911
942
  /*
912
943
  * call-seq:
@@ -922,11 +953,11 @@ ruby_xml_attr_value_get(VALUE self) {
922
953
  </div>
923
954
  </div>
924
955
 
925
- <div id="method-M000231" class="method-detail">
926
- <a name="M000231"></a>
956
+ <div id="method-M000256" class="method-detail">
957
+ <a name="M000256"></a>
927
958
 
928
959
  <div class="method-heading">
929
- <a href="#M000231" class="method-signature">
960
+ <a href="#M000256" class="method-signature">
930
961
  <span class="method-name">attr.value = "value"<br />
931
962
  </span>
932
963
  </a>
@@ -937,8 +968,8 @@ ruby_xml_attr_value_get(VALUE self) {
937
968
  Sets the value of this attribute.
938
969
  </p>
939
970
  <p><a class="source-toggle" href="#"
940
- onclick="toggleCode('M000231-source');return false;">[Source]</a></p>
941
- <div class="method-source-code" id="M000231-source">
971
+ onclick="toggleCode('M000256-source');return false;">[Source]</a></p>
972
+ <div class="method-source-code" id="M000256-source">
942
973
  <pre>
943
974
  /*
944
975
  * call-seq: