libxml-ruby 0.8.3-x86-mswin32-60 → 0.9.0-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. data/CHANGES +18 -0
  2. data/RAKEFILE +15 -39
  3. data/README +48 -47
  4. data/ext/libxml/libxml.c +847 -22
  5. data/ext/libxml/ruby_libxml.h +71 -95
  6. data/ext/libxml/ruby_xml_attr.c +500 -500
  7. data/ext/libxml/ruby_xml_attributes.c +1 -1
  8. data/ext/libxml/ruby_xml_document.c +1144 -1135
  9. data/ext/libxml/ruby_xml_document.h +4 -11
  10. data/ext/libxml/ruby_xml_dtd.c +27 -0
  11. data/ext/libxml/ruby_xml_encoding.c +164 -0
  12. data/ext/libxml/ruby_xml_encoding.h +13 -0
  13. data/ext/libxml/ruby_xml_error.c +941 -0
  14. data/ext/libxml/ruby_xml_error.h +13 -0
  15. data/ext/libxml/ruby_xml_html_parser.c +71 -387
  16. data/ext/libxml/ruby_xml_html_parser.h +1 -17
  17. data/ext/libxml/ruby_xml_input.c +179 -0
  18. data/ext/libxml/ruby_xml_input.h +18 -0
  19. data/ext/libxml/ruby_xml_input_cbg.c +17 -3
  20. data/ext/libxml/ruby_xml_node.c +1566 -1582
  21. data/ext/libxml/ruby_xml_node.h +1 -4
  22. data/ext/libxml/ruby_xml_ns.c +14 -3
  23. data/ext/libxml/ruby_xml_parser.c +164 -1398
  24. data/ext/libxml/ruby_xml_parser.h +5 -17
  25. data/ext/libxml/ruby_xml_parser_context.c +131 -169
  26. data/ext/libxml/ruby_xml_parser_context.h +2 -9
  27. data/ext/libxml/ruby_xml_reader.c +910 -945
  28. data/ext/libxml/ruby_xml_relaxng.c +32 -3
  29. data/ext/libxml/ruby_xml_sax_parser.c +106 -364
  30. data/ext/libxml/ruby_xml_sax_parser.h +1 -37
  31. data/ext/libxml/ruby_xml_schema.c +174 -145
  32. data/ext/libxml/ruby_xml_xinclude.c +9 -5
  33. data/ext/libxml/ruby_xml_xpath.c +25 -6
  34. data/ext/libxml/ruby_xml_xpath.h +1 -2
  35. data/ext/libxml/ruby_xml_xpath_context.c +17 -19
  36. data/ext/libxml/ruby_xml_xpath_object.c +60 -56
  37. data/ext/libxml/ruby_xml_xpointer.c +11 -5
  38. data/ext/libxml/sax_parser_callbacks.inc +42 -37
  39. data/ext/libxml/version.h +3 -3
  40. data/ext/mingw/Rakefile +20 -27
  41. data/ext/mingw/build.rake +41 -0
  42. data/{lib → ext/mingw}/libiconv-2.dll +0 -0
  43. data/ext/mingw/libxml2-2.dll +0 -0
  44. data/ext/mingw/libxml_ruby.dll.a +0 -0
  45. data/ext/mingw/libxml_ruby.so +0 -0
  46. data/ext/vc/libxml_ruby.vcproj +23 -15
  47. data/lib/libxml.rb +8 -2
  48. data/lib/libxml/document.rb +16 -4
  49. data/lib/libxml/error.rb +84 -0
  50. data/lib/libxml/hpricot.rb +76 -0
  51. data/lib/libxml/html_parser.rb +61 -0
  52. data/lib/libxml/node.rb +36 -25
  53. data/lib/libxml/parser.rb +312 -33
  54. data/lib/libxml/parser_context.rb +17 -0
  55. data/lib/libxml/properties.rb +15 -2
  56. data/lib/libxml/reader.rb +15 -0
  57. data/lib/libxml/sax_callbacks.rb +179 -0
  58. data/lib/libxml/sax_parser.rb +42 -0
  59. data/lib/libxml/tree.rb +1 -2
  60. data/lib/libxml/xpath_object.rb +12 -0
  61. data/test/model/atom.xml +4 -0
  62. data/test/tc_attributes.rb +43 -19
  63. data/test/tc_document.rb +1 -1
  64. data/test/tc_document_write.rb +15 -8
  65. data/test/tc_dtd.rb +36 -20
  66. data/test/tc_encoding.rb +13 -0
  67. data/test/tc_error.rb +136 -0
  68. data/test/tc_node.rb +2 -3
  69. data/test/tc_node_copy.rb +1 -1
  70. data/test/tc_node_edit.rb +6 -0
  71. data/test/tc_ns.rb +18 -0
  72. data/test/tc_parser.rb +113 -228
  73. data/test/tc_parser_context.rb +1 -2
  74. data/test/tc_reader.rb +24 -14
  75. data/test/tc_relaxng.rb +18 -6
  76. data/test/tc_sax_parser.rb +48 -13
  77. data/test/tc_schema.rb +20 -8
  78. data/test/tc_well_formed.rb +2 -1
  79. data/test/tc_xml.rb +212 -0
  80. data/test/tc_xpath.rb +60 -46
  81. data/test/tc_xpointer.rb +7 -11
  82. data/test/test_suite.rb +4 -3
  83. metadata +32 -115
  84. data/doc/rdoc/classes/LibXML.html +0 -241
  85. data/doc/rdoc/classes/LibXML/XML.html +0 -185
  86. data/doc/rdoc/classes/LibXML/XML/Attr.html +0 -1010
  87. data/doc/rdoc/classes/LibXML/XML/Attributes.html +0 -526
  88. data/doc/rdoc/classes/LibXML/XML/Document.html +0 -1489
  89. data/doc/rdoc/classes/LibXML/XML/Dtd.html +0 -213
  90. data/doc/rdoc/classes/LibXML/XML/Error.html +0 -117
  91. data/doc/rdoc/classes/LibXML/XML/HTMLParser.html +0 -348
  92. data/doc/rdoc/classes/LibXML/XML/InputCallbacks.html +0 -160
  93. data/doc/rdoc/classes/LibXML/XML/NS.html +0 -381
  94. data/doc/rdoc/classes/LibXML/XML/Node.html +0 -3396
  95. data/doc/rdoc/classes/LibXML/XML/Node/FailedModify.html +0 -123
  96. data/doc/rdoc/classes/LibXML/XML/Node/Set.html +0 -440
  97. data/doc/rdoc/classes/LibXML/XML/Node/SetNamespace.html +0 -123
  98. data/doc/rdoc/classes/LibXML/XML/Node/UnknownType.html +0 -123
  99. data/doc/rdoc/classes/LibXML/XML/Parser.html +0 -2239
  100. data/doc/rdoc/classes/LibXML/XML/Parser/Context.html +0 -1255
  101. data/doc/rdoc/classes/LibXML/XML/Parser/ParseError.html +0 -123
  102. data/doc/rdoc/classes/LibXML/XML/Reader.html +0 -2264
  103. data/doc/rdoc/classes/LibXML/XML/RelaxNG.html +0 -237
  104. data/doc/rdoc/classes/LibXML/XML/SaxParser.html +0 -415
  105. data/doc/rdoc/classes/LibXML/XML/Schema.html +0 -308
  106. data/doc/rdoc/classes/LibXML/XML/State.html +0 -124
  107. data/doc/rdoc/classes/LibXML/XML/Tree.html +0 -111
  108. data/doc/rdoc/classes/LibXML/XML/XInclude.html +0 -123
  109. data/doc/rdoc/classes/LibXML/XML/XInclude/Error.html +0 -117
  110. data/doc/rdoc/classes/LibXML/XML/XMLParserOptions.html +0 -198
  111. data/doc/rdoc/classes/LibXML/XML/XPath.html +0 -184
  112. data/doc/rdoc/classes/LibXML/XML/XPath/Context.html +0 -404
  113. data/doc/rdoc/classes/LibXML/XML/XPath/InvalidPath.html +0 -172
  114. data/doc/rdoc/classes/LibXML/XML/XPath/Object.html +0 -627
  115. data/doc/rdoc/classes/LibXML/XML/XPointer.html +0 -170
  116. data/doc/rdoc/classes/LibXML/XML/XPointer/Context.html +0 -123
  117. data/doc/rdoc/classes/LibXML/XML/XPointer/Context/InvalidPath.html +0 -117
  118. data/doc/rdoc/classes/LibXML/XML/XPointer/InvalidExpression.html +0 -124
  119. data/doc/rdoc/classes/singleton.html +0 -114
  120. data/doc/rdoc/created.rid +0 -1
  121. data/doc/rdoc/files/CHANGES.html +0 -442
  122. data/doc/rdoc/files/LICENSE.html +0 -133
  123. data/doc/rdoc/files/README.html +0 -388
  124. data/doc/rdoc/files/VERSION.html +0 -107
  125. data/doc/rdoc/files/ext/libxml/cbg_c.html +0 -101
  126. data/doc/rdoc/files/ext/libxml/libxml_c.html +0 -101
  127. data/doc/rdoc/files/ext/libxml/ruby_xml_attr_c.html +0 -101
  128. data/doc/rdoc/files/ext/libxml/ruby_xml_attributes_c.html +0 -101
  129. data/doc/rdoc/files/ext/libxml/ruby_xml_document_c.html +0 -101
  130. data/doc/rdoc/files/ext/libxml/ruby_xml_dtd_c.html +0 -101
  131. data/doc/rdoc/files/ext/libxml/ruby_xml_html_parser_c.html +0 -101
  132. data/doc/rdoc/files/ext/libxml/ruby_xml_input_cbg_c.html +0 -101
  133. data/doc/rdoc/files/ext/libxml/ruby_xml_node_c.html +0 -101
  134. data/doc/rdoc/files/ext/libxml/ruby_xml_node_set_c.html +0 -101
  135. data/doc/rdoc/files/ext/libxml/ruby_xml_ns_c.html +0 -101
  136. data/doc/rdoc/files/ext/libxml/ruby_xml_parser_c.html +0 -101
  137. data/doc/rdoc/files/ext/libxml/ruby_xml_parser_context_c.html +0 -101
  138. data/doc/rdoc/files/ext/libxml/ruby_xml_reader_c.html +0 -101
  139. data/doc/rdoc/files/ext/libxml/ruby_xml_relaxng_c.html +0 -101
  140. data/doc/rdoc/files/ext/libxml/ruby_xml_sax_parser_c.html +0 -101
  141. data/doc/rdoc/files/ext/libxml/ruby_xml_schema_c.html +0 -101
  142. data/doc/rdoc/files/ext/libxml/ruby_xml_state_c.html +0 -101
  143. data/doc/rdoc/files/ext/libxml/ruby_xml_xinclude_c.html +0 -101
  144. data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_c.html +0 -101
  145. data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_context_c.html +0 -101
  146. data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_object_c.html +0 -101
  147. data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_c.html +0 -101
  148. data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_context_c.html +0 -101
  149. data/doc/rdoc/files/lib/libxml/attr_rb.html +0 -108
  150. data/doc/rdoc/files/lib/libxml/attributes_rb.html +0 -108
  151. data/doc/rdoc/files/lib/libxml/document_rb.html +0 -108
  152. data/doc/rdoc/files/lib/libxml/node_rb.html +0 -108
  153. data/doc/rdoc/files/lib/libxml/node_set_rb.html +0 -108
  154. data/doc/rdoc/files/lib/libxml/parser_options_rb.html +0 -107
  155. data/doc/rdoc/files/lib/libxml/parser_rb.html +0 -101
  156. data/doc/rdoc/files/lib/libxml/properties_rb.html +0 -108
  157. data/doc/rdoc/files/lib/libxml/tree_rb.html +0 -107
  158. data/doc/rdoc/files/lib/libxml_rb.html +0 -124
  159. data/doc/rdoc/files/lib/xml/libxml_rb.html +0 -124
  160. data/doc/rdoc/files/lib/xml_rb.html +0 -134
  161. data/doc/rdoc/fr_class_index.html +0 -62
  162. data/doc/rdoc/fr_file_index.html +0 -66
  163. data/doc/rdoc/fr_method_index.html +0 -392
  164. data/doc/rdoc/index.html +0 -24
  165. data/doc/rdoc/rdoc-style.css +0 -208
  166. data/ext/libxml/ruby_xml_node_set.c +0 -172
  167. data/ext/libxml/ruby_xml_node_set.h +0 -20
  168. data/ext/libxml/ruby_xml_xpointer_context.c +0 -22
  169. data/ext/libxml/ruby_xml_xpointer_context.h +0 -18
  170. data/lib/libxml/node_set.rb +0 -27
  171. data/lib/libxml2-2.dll +0 -0
  172. data/lib/libxml_ruby.dll.a +0 -0
  173. data/lib/libxml_ruby.so +0 -0
  174. data/test/tc_node_set.rb +0 -24
  175. data/test/tc_node_set2.rb +0 -37
@@ -1,123 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: LibXML::XML::Node::FailedModify</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">LibXML::XML::Node::FailedModify</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../../files/ext/libxml/ruby_xml_node_c.html">
59
- ext/libxml/ruby_xml_node.c
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- eXMLError
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
- <div id="description">
82
- <p>
83
- call-seq:
84
- </p>
85
- <pre>
86
- XML::Node.new_text(content = nil) -&gt; XML::Node
87
- </pre>
88
- <p>
89
- Create a new text node, optionally setting the node&#8216;s content.
90
- </p>
91
-
92
- </div>
93
-
94
-
95
- </div>
96
-
97
-
98
- </div>
99
-
100
-
101
- <!-- if includes -->
102
-
103
- <div id="section">
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
- <!-- if method_list -->
113
-
114
-
115
- </div>
116
-
117
-
118
- <div id="validator-badges">
119
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
120
- </div>
121
-
122
- </body>
123
- </html>
@@ -1,440 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: LibXML::XML::Node::Set</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">LibXML::XML::Node::Set</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../../files/ext/libxml/ruby_xml_node_c.html">
59
- ext/libxml/ruby_xml_node.c
60
- </a>
61
- <br />
62
- <a href="../../../../files/lib/libxml/node_set_rb.html">
63
- lib/libxml/node_set.rb
64
- </a>
65
- <br />
66
- </td>
67
- </tr>
68
-
69
- <tr class="top-aligned-row">
70
- <td><strong>Parent:</strong></td>
71
- <td>
72
- Object
73
- </td>
74
- </tr>
75
- </table>
76
- </div>
77
- <!-- banner header -->
78
-
79
- <div id="bodyContent">
80
-
81
-
82
-
83
- <div id="contextContent">
84
-
85
- <div id="description">
86
- <p>
87
- Includes Enumerable.
88
- </p>
89
-
90
- </div>
91
-
92
-
93
- </div>
94
-
95
- <div id="method-list">
96
- <h3 class="section-bar">Methods</h3>
97
-
98
- <div class="name-list">
99
- <a href="#M000218">[]</a>&nbsp;&nbsp;
100
- <a href="#M000210">each</a>&nbsp;&nbsp;
101
- <a href="#M000211">empty?</a>&nbsp;&nbsp;
102
- <a href="#M000212">first</a>&nbsp;&nbsp;
103
- <a href="#M000213">length</a>&nbsp;&nbsp;
104
- <a href="#M000214">size</a>&nbsp;&nbsp;
105
- <a href="#M000215">to_a</a>&nbsp;&nbsp;
106
- <a href="#M000216">xpath</a>&nbsp;&nbsp;
107
- <a href="#M000217">xpath_ctxt</a>&nbsp;&nbsp;
108
- </div>
109
- </div>
110
-
111
- </div>
112
-
113
-
114
- <!-- if includes -->
115
- <div id="includes">
116
- <h3 class="section-bar">Included Modules</h3>
117
-
118
- <div id="includes-list">
119
- <span class="include-name">Enumerable</span>
120
- <span class="include-name">Enumerable</span>
121
- </div>
122
- </div>
123
-
124
- <div id="section">
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
- <!-- if method_list -->
134
- <div id="methods">
135
- <h3 class="section-bar">Public Instance methods</h3>
136
-
137
- <div id="method-M000218" class="method-detail">
138
- <a name="M000218"></a>
139
-
140
- <div class="method-heading">
141
- <a href="#M000218" class="method-signature">
142
- <span class="method-name">[]</span><span class="method-args">(i, count = nil)</span>
143
- </a>
144
- </div>
145
-
146
- <div class="method-description">
147
- <p>
148
- inefficient, but maybe can find a way to cache the ary and dump on change?
149
- </p>
150
- <p><a class="source-toggle" href="#"
151
- onclick="toggleCode('M000218-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000218-source">
153
- <pre>
154
- <span class="ruby-comment cmt"># File lib/libxml/node_set.rb, line 13</span>
155
- 13: <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">i</span>, <span class="ruby-identifier">count</span> = <span class="ruby-keyword kw">nil</span>)
156
- 14: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">count</span>
157
- 15: <span class="ruby-identifier">to_a</span>[<span class="ruby-identifier">i</span>,<span class="ruby-identifier">count</span>]
158
- 16: <span class="ruby-keyword kw">else</span>
159
- 17: <span class="ruby-identifier">to_a</span>[<span class="ruby-identifier">i</span>]
160
- 18: <span class="ruby-keyword kw">end</span>
161
- 19: <span class="ruby-keyword kw">end</span>
162
- </pre>
163
- </div>
164
- </div>
165
- </div>
166
-
167
- <div id="method-M000210" class="method-detail">
168
- <a name="M000210"></a>
169
-
170
- <div class="method-heading">
171
- <a href="#M000210" class="method-signature">
172
- <span class="method-name">nodeset.each { |node| ... } &rarr; self<br />
173
- </span>
174
- </a>
175
- </div>
176
-
177
- <div class="method-description">
178
- <p>
179
- Call the supplied block for <a href="Set.html#M000210">each</a> node in
180
- this set.
181
- </p>
182
- <p><a class="source-toggle" href="#"
183
- onclick="toggleCode('M000210-source');return false;">[Source]</a></p>
184
- <div class="method-source-code" id="M000210-source">
185
- <pre>
186
- /*
187
- * call-seq:
188
- * nodeset.each { |node| ... } -&gt; self
189
- *
190
- * Call the supplied block for each node in this set.
191
- */
192
- VALUE
193
- ruby_xml_node_set_each(VALUE self) {
194
-
195
- </pre>
196
- </div>
197
- </div>
198
- </div>
199
-
200
- <div id="method-M000211" class="method-detail">
201
- <a name="M000211"></a>
202
-
203
- <div class="method-heading">
204
- <a href="#M000211" class="method-signature">
205
- <span class="method-name">nodeset.empty? &rarr; (true|false)<br />
206
- </span>
207
- </a>
208
- </div>
209
-
210
- <div class="method-description">
211
- <p>
212
- Determine whether this nodeset is empty (contains no nodes).
213
- </p>
214
- <p><a class="source-toggle" href="#"
215
- onclick="toggleCode('M000211-source');return false;">[Source]</a></p>
216
- <div class="method-source-code" id="M000211-source">
217
- <pre>
218
- /*
219
- * call-seq:
220
- * nodeset.empty? -&gt; (true|false)
221
- *
222
- * Determine whether this nodeset is empty (contains no nodes).
223
- */
224
- VALUE
225
- ruby_xml_node_set_empty_q(VALUE self) {
226
-
227
- </pre>
228
- </div>
229
- </div>
230
- </div>
231
-
232
- <div id="method-M000212" class="method-detail">
233
- <a name="M000212"></a>
234
-
235
- <div class="method-heading">
236
- <a href="#M000212" class="method-signature">
237
- <span class="method-name">nodeset.first &rarr; node<br />
238
- </span>
239
- </a>
240
- </div>
241
-
242
- <div class="method-description">
243
- <p>
244
- Returns the <a href="Set.html#M000212">first</a> node in this node set, or
245
- nil if none exist.
246
- </p>
247
- <p><a class="source-toggle" href="#"
248
- onclick="toggleCode('M000212-source');return false;">[Source]</a></p>
249
- <div class="method-source-code" id="M000212-source">
250
- <pre>
251
- /*
252
- * call-seq:
253
- * nodeset.first -&gt; node
254
- *
255
- * Returns the first node in this node set, or nil if none exist.
256
- */
257
- VALUE
258
- ruby_xml_node_set_first(VALUE self) {
259
-
260
- </pre>
261
- </div>
262
- </div>
263
- </div>
264
-
265
- <div id="method-M000213" class="method-detail">
266
- <a name="M000213"></a>
267
-
268
- <div class="method-heading">
269
- <a href="#M000213" class="method-signature">
270
- <span class="method-name">nodeset.length &rarr; num<br />
271
- </span>
272
- </a>
273
- </div>
274
-
275
- <div class="method-description">
276
- <p>
277
- Obtain the <a href="Set.html#M000213">length</a> of this nodeset.
278
- </p>
279
- <p><a class="source-toggle" href="#"
280
- onclick="toggleCode('M000213-source');return false;">[Source]</a></p>
281
- <div class="method-source-code" id="M000213-source">
282
- <pre>
283
- /*
284
- * call-seq:
285
- * nodeset.length -&gt; num
286
- *
287
- * Obtain the length of this nodeset.
288
- */
289
- VALUE
290
- ruby_xml_node_set_length(VALUE self) {
291
-
292
- </pre>
293
- </div>
294
- </div>
295
- </div>
296
-
297
- <div id="method-M000214" class="method-detail">
298
- <a name="M000214"></a>
299
-
300
- <div class="method-heading">
301
- <a href="#M000214" class="method-signature">
302
- <span class="method-name">nodeset.length &rarr; num<br />
303
- </span>
304
- </a>
305
- </div>
306
-
307
- <div class="method-description">
308
- <p>
309
- Obtain the <a href="Set.html#M000213">length</a> of this nodeset.
310
- </p>
311
- <p><a class="source-toggle" href="#"
312
- onclick="toggleCode('M000214-source');return false;">[Source]</a></p>
313
- <div class="method-source-code" id="M000214-source">
314
- <pre>
315
- /*
316
- * call-seq:
317
- * nodeset.length -&gt; num
318
- *
319
- * Obtain the length of this nodeset.
320
- */
321
- VALUE
322
- ruby_xml_node_set_length(VALUE self) {
323
-
324
- </pre>
325
- </div>
326
- </div>
327
- </div>
328
-
329
- <div id="method-M000215" class="method-detail">
330
- <a name="M000215"></a>
331
-
332
- <div class="method-heading">
333
- <a href="#M000215" class="method-signature">
334
- <span class="method-name">nodeset.to_a &rarr; [node, ..., node]<br />
335
- </span>
336
- </a>
337
- </div>
338
-
339
- <div class="method-description">
340
- <p>
341
- Obtain an array of the nodes in this set.
342
- </p>
343
- <p><a class="source-toggle" href="#"
344
- onclick="toggleCode('M000215-source');return false;">[Source]</a></p>
345
- <div class="method-source-code" id="M000215-source">
346
- <pre>
347
- /*
348
- * call-seq:
349
- * nodeset.to_a -&gt; [node, ..., node]
350
- *
351
- * Obtain an array of the nodes in this set.
352
- */
353
- VALUE
354
- ruby_xml_node_set_to_a(VALUE self) {
355
-
356
- </pre>
357
- </div>
358
- </div>
359
- </div>
360
-
361
- <div id="method-M000216" class="method-detail">
362
- <a name="M000216"></a>
363
-
364
- <div class="method-heading">
365
- <a href="#M000216" class="method-signature">
366
- <span class="method-name">nodeset.xpath &rarr; xpath<br />
367
- </span>
368
- </a>
369
- </div>
370
-
371
- <div class="method-description">
372
- <p>
373
- Obtain the <a href="Set.html#M000216">xpath</a> corresponding to this
374
- nodeset, if any.
375
- </p>
376
- <p><a class="source-toggle" href="#"
377
- onclick="toggleCode('M000216-source');return false;">[Source]</a></p>
378
- <div class="method-source-code" id="M000216-source">
379
- <pre>
380
- /*
381
- * call-seq:
382
- * nodeset.xpath -&gt; xpath
383
- *
384
- * Obtain the xpath corresponding to this nodeset, if any.
385
- */
386
- VALUE
387
- ruby_xml_node_set_xpath_get(VALUE self) {
388
-
389
- </pre>
390
- </div>
391
- </div>
392
- </div>
393
-
394
- <div id="method-M000217" class="method-detail">
395
- <a name="M000217"></a>
396
-
397
- <div class="method-heading">
398
- <a href="#M000217" class="method-signature">
399
- <span class="method-name">nodeset.xpath_ctxt &rarr; context<br />
400
- </span>
401
- </a>
402
- </div>
403
-
404
- <div class="method-description">
405
- <p>
406
- Return the <a href="Set.html#M000216">xpath</a> context corresponding to
407
- this nodeset, if any.
408
- </p>
409
- <p><a class="source-toggle" href="#"
410
- onclick="toggleCode('M000217-source');return false;">[Source]</a></p>
411
- <div class="method-source-code" id="M000217-source">
412
- <pre>
413
- /*
414
- * call-seq:
415
- * nodeset.xpath_ctxt -&gt; context
416
- *
417
- * Return the xpath context corresponding to this nodeset,
418
- * if any.
419
- */
420
- VALUE
421
- ruby_xml_node_set_xpath_data_get(VALUE self) {
422
-
423
- </pre>
424
- </div>
425
- </div>
426
- </div>
427
-
428
-
429
- </div>
430
-
431
-
432
- </div>
433
-
434
-
435
- <div id="validator-badges">
436
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
437
- </div>
438
-
439
- </body>
440
- </html>