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.
- data/CHANGES +24 -1
- data/README +48 -3
- data/benchmark/depixelate.rb +632 -0
- data/benchmark/hamlet.xml +9055 -0
- data/benchmark/sock_entries.xml +507 -0
- data/benchmark/throughput.rb +39 -0
- data/benchmark/xml_benchmarks.rb +222 -0
- data/doc/classes/LibXML.html +237 -0
- data/doc/classes/LibXML/XML.html +178 -0
- data/doc/classes/{XML → LibXML/XML}/Attr.html +213 -182
- data/doc/classes/{XML → LibXML/XML}/Attributes.html +126 -54
- data/doc/classes/{XML → LibXML/XML}/Document.html +299 -297
- data/doc/classes/{XML → LibXML/XML}/Dtd.html +10 -10
- data/doc/classes/{XML/XInclude → LibXML/XML}/Error.html +4 -4
- data/doc/classes/{XML → LibXML/XML}/HTMLParser.html +40 -40
- data/doc/classes/{XML → LibXML/XML}/InputCallbacks.html +10 -10
- data/doc/classes/{XML → LibXML/XML}/NS.html +46 -46
- data/doc/classes/{XML → LibXML/XML}/Node.html +935 -788
- data/doc/classes/LibXML/XML/Node/FailedModify.html +111 -0
- data/doc/classes/{XML → LibXML/XML}/Node/Set.html +69 -68
- data/doc/classes/{XML → LibXML/XML}/Node/SetNamespace.html +4 -4
- data/doc/classes/{XML/Node/FailedModify.html → LibXML/XML/Node/UnknownType.html} +4 -4
- data/doc/classes/{XML → LibXML/XML}/Parser.html +426 -389
- data/doc/classes/{XML → LibXML/XML}/Parser/Context.html +208 -208
- data/doc/classes/{XML → LibXML/XML}/Parser/ParseError.html +4 -4
- data/doc/classes/{XML → LibXML/XML}/Reader.html +288 -287
- data/doc/classes/{XML → LibXML/XML}/SaxParser.html +52 -52
- data/doc/classes/{XML/XPath/Context.html → LibXML/XML/Schema.html} +60 -32
- data/doc/classes/{XML → LibXML/XML}/State.html +4 -4
- data/doc/classes/{XML/Node/UnknownType.html → LibXML/XML/Tree.html} +5 -5
- data/doc/classes/{XML → LibXML/XML}/XInclude.html +5 -5
- data/doc/classes/{XML → LibXML/XML/XInclude}/Error.html +5 -5
- data/doc/classes/{XML → LibXML/XML}/XMLParserOptions.html +5 -5
- data/doc/classes/{XML → LibXML/XML}/XPath.html +23 -64
- data/doc/classes/LibXML/XML/XPath/Context.html +403 -0
- data/doc/classes/{XML/XPointer/Context → LibXML/XML/XPath}/InvalidPath.html +4 -4
- data/doc/classes/LibXML/XML/XPath/Object.html +623 -0
- data/doc/classes/{XML → LibXML/XML}/XPointer.html +12 -12
- data/doc/classes/{XML → LibXML/XML}/XPointer/Context.html +5 -5
- data/doc/classes/{XML/XPath → LibXML/XML/XPointer/Context}/InvalidPath.html +5 -5
- data/doc/classes/{XML → LibXML/XML}/XPointer/InvalidExpression.html +4 -4
- data/doc/classes/XML.html +17 -123
- data/doc/created.rid +1 -1
- data/doc/files/CHANGES.html +49 -25
- data/doc/files/LICENSE.html +1 -1
- data/doc/files/README.html +79 -4
- data/doc/files/VERSION.html +2 -2
- data/doc/files/ext/libxml/cbg_c.html +1 -1
- data/doc/files/ext/libxml/libxml_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_attr_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_attributes_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_document_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_dtd_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_html_parser_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_input_cbg_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_node_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_node_set_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_ns_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_parser_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_parser_context_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_reader_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_sax_parser_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_schema_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_state_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xinclude_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpath_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpath_context_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpath_object_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpointer_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpointer_context_c.html +1 -1
- data/doc/files/lib/libxml/attr_rb.html +108 -0
- data/doc/files/lib/libxml/attributes_rb.html +108 -0
- data/doc/files/lib/libxml/document_rb.html +108 -0
- data/doc/files/lib/libxml/node_rb.html +108 -0
- data/doc/files/lib/libxml/node_set_rb.html +108 -0
- data/doc/files/lib/libxml/parser_options_rb.html +107 -0
- data/doc/files/{ext/libxml/ruby_xml_tree_c.html → lib/libxml/parser_rb.html} +4 -4
- data/doc/files/lib/libxml/properties_rb.html +108 -0
- data/doc/files/lib/libxml/tree_rb.html +107 -0
- data/doc/files/lib/libxml_rb.html +12 -3
- data/doc/fr_class_index.html +34 -32
- data/doc/fr_file_index.html +9 -1
- data/doc/fr_method_index.html +362 -347
- data/ext/libxml/cbg.c +76 -76
- data/ext/libxml/libxml.c +4 -3
- data/ext/libxml/ruby_libxml.h +1 -1
- data/ext/libxml/ruby_xml_attr.c +4 -3
- data/ext/libxml/ruby_xml_attr.h +16 -16
- data/ext/libxml/ruby_xml_attributes.c +267 -266
- data/ext/libxml/ruby_xml_attributes.h +17 -17
- data/ext/libxml/ruby_xml_document.c +30 -59
- data/ext/libxml/ruby_xml_document.h +27 -27
- data/ext/libxml/ruby_xml_dtd.c +2 -1
- data/ext/libxml/ruby_xml_dtd.h +17 -17
- data/ext/libxml/ruby_xml_html_parser.c +3 -2
- data/ext/libxml/ruby_xml_html_parser.h +29 -29
- data/ext/libxml/ruby_xml_input_cbg.c +2 -1
- data/ext/libxml/ruby_xml_input_cbg.h +20 -20
- data/ext/libxml/ruby_xml_node.c +127 -470
- data/ext/libxml/ruby_xml_node.h +17 -17
- data/ext/libxml/ruby_xml_node_set.c +5 -4
- data/ext/libxml/ruby_xml_node_set.h +20 -20
- data/ext/libxml/ruby_xml_ns.c +3 -2
- data/ext/libxml/ruby_xml_ns.h +12 -12
- data/ext/libxml/ruby_xml_parser.c +20 -48
- data/ext/libxml/ruby_xml_parser.h +31 -31
- data/ext/libxml/ruby_xml_parser_context.c +3 -2
- data/ext/libxml/ruby_xml_parser_context.h +20 -20
- data/ext/libxml/ruby_xml_reader.c +2 -1
- data/ext/libxml/ruby_xml_sax_parser.c +3 -2
- data/ext/libxml/ruby_xml_sax_parser.h +56 -56
- data/ext/libxml/ruby_xml_schema.c +6 -0
- data/ext/libxml/ruby_xml_schema.h +16 -16
- data/ext/libxml/ruby_xml_state.c +13 -12
- data/ext/libxml/ruby_xml_state.h +1 -1
- data/ext/libxml/ruby_xml_xinclude.c +3 -2
- data/ext/libxml/ruby_xml_xinclude.h +13 -13
- data/ext/libxml/ruby_xml_xpath.c +35 -228
- data/ext/libxml/ruby_xml_xpath.h +22 -23
- data/ext/libxml/ruby_xml_xpath_context.c +223 -62
- data/ext/libxml/ruby_xml_xpath_context.h +15 -20
- data/ext/libxml/ruby_xml_xpath_object.c +63 -19
- data/ext/libxml/ruby_xml_xpointer.c +19 -15
- data/ext/libxml/ruby_xml_xpointer.h +27 -27
- data/ext/libxml/ruby_xml_xpointer_context.c +3 -2
- data/ext/libxml/ruby_xml_xpointer_context.h +18 -18
- data/ext/libxml/version.h +9 -9
- data/lib/libxml.rb +16 -128
- data/lib/libxml/attr.rb +45 -0
- data/lib/libxml/attributes.rb +15 -0
- data/lib/libxml/document.rb +54 -0
- data/lib/libxml/node.rb +132 -0
- data/lib/libxml/node_set.rb +27 -0
- data/lib/libxml/parser.rb +42 -0
- data/lib/libxml/parser_options.rb +25 -0
- data/lib/libxml/properties.rb +19 -0
- data/lib/libxml/tree.rb +29 -0
- data/lib/libxml_ruby.so +0 -0
- data/mingw/libxml_ruby.so +0 -0
- data/{work/task/setup → setup.rb} +1585 -1616
- data/test/gc.log +0 -0
- data/test/model/books.xml +147 -0
- data/{work/test/runner.rb → test/model/default_validation_bug.rb} +0 -0
- data/test/model/merge_bug_data.xml +58 -0
- data/test/model/rubynet.xml +78 -0
- data/test/model/rubynet_project +1 -0
- data/test/model/saxtest.xml +5 -0
- data/test/model/shiporder.xml +23 -0
- data/test/model/shiporder.xsd +31 -0
- data/test/model/simple.xml +7 -0
- data/test/model/soap.xml +27 -0
- data/test/model/xinclude.xml +5 -0
- data/test/tc_deprecated_require.rb +13 -0
- data/test/tc_xml_document.rb +57 -16
- data/test/tc_xml_document_write.rb +125 -10
- data/test/tc_xml_dtd.rb +22 -1
- data/test/tc_xml_node.rb +13 -0
- data/test/tc_xml_node_edit.rb +1 -1
- data/test/tc_xml_node_xlink.rb +1 -1
- data/test/tc_xml_parser.rb +64 -7
- data/test/tc_xml_properties.rb +42 -0
- data/test/tc_xml_reader.rb +4 -4
- data/test/tc_xml_sax_parser.rb +50 -50
- data/test/tc_xml_schema.rb +2 -2
- data/test/tc_xml_traversal.rb +220 -0
- data/test/tc_xml_xinclude.rb +12 -15
- data/test/tc_xml_xpath.rb +74 -6
- data/test/tc_xml_xpath_context.rb +72 -0
- data/test/test_suite.rb +6 -4
- data/vc/libxml_ruby.vcproj +1 -9
- metadata +92 -65
- data/doc/classes/XML/SiblingEnum.html +0 -142
- data/doc/classes/XML/Tree.html +0 -224
- data/doc/classes/XML/XPath/Object.html +0 -439
- data/ext/libxml/ruby_xml_tree.c +0 -43
- data/ext/libxml/ruby_xml_tree.h +0 -12
- data/test/ets_copy_bug2.rb +0 -21
- data/test/tc_xml_document_write2.rb +0 -54
- data/test/tc_xml_document_write3.rb +0 -96
- data/test/tc_xml_sax_parser2.rb +0 -51
- data/work/Rakefile +0 -247
- data/work/task/make +0 -26
- data/work/task/memory +0 -37
- data/work/task/rdoc +0 -39
- data/work/task/test +0 -29
- data/work/test/ets_runner.rb +0 -33
- data/work/test/libxml_test.rb +0 -3
- data/work/test/runner_ets.rb +0 -33
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>Class: XML::Parser::ParseError</title>
|
8
|
+
<title>Class: LibXML::XML::Parser::ParseError</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="
|
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,12 +50,12 @@
|
|
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::Parser::ParseError</td>
|
53
|
+
<td class="class-name-in-header">LibXML::XML::Parser::ParseError</td>
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>In:</strong></td>
|
57
57
|
<td>
|
58
|
-
<a href="
|
58
|
+
<a href="../../../../files/ext/libxml/ruby_xml_parser_c.html">
|
59
59
|
ext/libxml/ruby_xml_parser.c
|
60
60
|
</a>
|
61
61
|
<br />
|
@@ -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::Reader</title>
|
8
|
+
<title>Class: LibXML::XML::Reader</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="
|
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,12 +50,12 @@
|
|
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::Reader</td>
|
53
|
+
<td class="class-name-in-header">LibXML::XML::Reader</td>
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>In:</strong></td>
|
57
57
|
<td>
|
58
|
-
<a href="
|
58
|
+
<a href="../../../files/ext/libxml/libxml_c.html">
|
59
59
|
ext/libxml/libxml.c
|
60
60
|
</a>
|
61
61
|
<br />
|
@@ -86,53 +86,53 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
95
|
-
<a href="#
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
99
|
-
<a href="#
|
100
|
-
<a href="#
|
101
|
-
<a href="#
|
102
|
-
<a href="#
|
103
|
-
<a href="#
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
108
|
-
<a href="#
|
109
|
-
<a href="#
|
110
|
-
<a href="#
|
111
|
-
<a href="#
|
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="#
|
89
|
+
<a href="#M000299">[]</a>
|
90
|
+
<a href="#M000286">attribute_count</a>
|
91
|
+
<a href="#M000290">base_uri</a>
|
92
|
+
<a href="#M000304">byte_consumed</a>
|
93
|
+
<a href="#M000267">close</a>
|
94
|
+
<a href="#M000305">column_number</a>
|
95
|
+
<a href="#M000307">default?</a>
|
96
|
+
<a href="#M000295">depth</a>
|
97
|
+
<a href="#M000308">empty_element?</a>
|
98
|
+
<a href="#M000289">encoding</a>
|
99
|
+
<a href="#M000303">expand</a>
|
100
|
+
<a href="#M000264">file</a>
|
101
|
+
<a href="#M000298">has_attributes?</a>
|
102
|
+
<a href="#M000300">has_value?</a>
|
103
|
+
<a href="#M000306">line_number</a>
|
104
|
+
<a href="#M000288">local_name</a>
|
105
|
+
<a href="#M000302">lookup_namespace</a>
|
106
|
+
<a href="#M000268">move_to_attribute</a>
|
107
|
+
<a href="#M000271">move_to_element</a>
|
108
|
+
<a href="#M000269">move_to_first_attribute</a>
|
109
|
+
<a href="#M000270">move_to_next_attribute</a>
|
110
|
+
<a href="#M000287">name</a>
|
111
|
+
<a href="#M000309">namespace_declaration?</a>
|
112
|
+
<a href="#M000291">namespace_uri</a>
|
113
|
+
<a href="#M000266">new</a>
|
114
|
+
<a href="#M000272">next</a>
|
115
|
+
<a href="#M000273">next_sibling</a>
|
116
|
+
<a href="#M000284">node_type</a>
|
117
|
+
<a href="#M000285">normalization</a>
|
118
|
+
<a href="#M000294">prefix</a>
|
119
|
+
<a href="#M000296">quote_char</a>
|
120
|
+
<a href="#M000274">read</a>
|
121
|
+
<a href="#M000275">read_attribute_value</a>
|
122
|
+
<a href="#M000276">read_inner_xml</a>
|
123
|
+
<a href="#M000277">read_outer_xml</a>
|
124
|
+
<a href="#M000278">read_state</a>
|
125
|
+
<a href="#M000279">read_string</a>
|
126
|
+
<a href="#M000282">relax_ng_validate</a>
|
127
|
+
<a href="#M000281">reset_error_handler</a>
|
128
|
+
<a href="#M000283">schema_validate</a>
|
129
|
+
<a href="#M000280">set_error_handler</a>
|
130
|
+
<a href="#M000297">standalone</a>
|
131
|
+
<a href="#M000310">valid?</a>
|
132
|
+
<a href="#M000301">value</a>
|
133
|
+
<a href="#M000265">walker</a>
|
134
|
+
<a href="#M000292">xml_lang</a>
|
135
|
+
<a href="#M000293">xml_version</a>
|
136
136
|
</div>
|
137
137
|
</div>
|
138
138
|
|
@@ -322,11 +322,11 @@
|
|
322
322
|
<div id="methods">
|
323
323
|
<h3 class="section-bar">Public Class methods</h3>
|
324
324
|
|
325
|
-
<div id="method-
|
326
|
-
<a name="
|
325
|
+
<div id="method-M000264" class="method-detail">
|
326
|
+
<a name="M000264"></a>
|
327
327
|
|
328
328
|
<div class="method-heading">
|
329
|
-
<a href="#
|
329
|
+
<a href="#M000264" class="method-signature">
|
330
330
|
<span class="method-name">XML::Reader.file(path, encoding=nil, options=0) → reader<br />
|
331
331
|
</span>
|
332
332
|
</a>
|
@@ -338,8 +338,8 @@ Parse an <a href="../XML.html">XML</a> file from the filesystem or the
|
|
338
338
|
network. The parsing flags options are a combination of xmlParserOption.
|
339
339
|
</p>
|
340
340
|
<p><a class="source-toggle" href="#"
|
341
|
-
onclick="toggleCode('
|
342
|
-
<div class="method-source-code" id="
|
341
|
+
onclick="toggleCode('M000264-source');return false;">[Source]</a></p>
|
342
|
+
<div class="method-source-code" id="M000264-source">
|
343
343
|
<pre>
|
344
344
|
/*
|
345
345
|
* call-seq:
|
@@ -371,11 +371,11 @@ ruby_xml_reader_new_file(int argc, VALUE *argv, VALUE self)
|
|
371
371
|
</div>
|
372
372
|
</div>
|
373
373
|
|
374
|
-
<div id="method-
|
375
|
-
<a name="
|
374
|
+
<div id="method-M000266" class="method-detail">
|
375
|
+
<a name="M000266"></a>
|
376
376
|
|
377
377
|
<div class="method-heading">
|
378
|
-
<a href="#
|
378
|
+
<a href="#M000266" class="method-signature">
|
379
379
|
<span class="method-name">XML::Reader.new(data, url=nil, encoding=nil, options=0) → reader<br />
|
380
380
|
XML::Reader.string(data, url=nil, encoding=nil, options=0) → reader<br />
|
381
381
|
</span>
|
@@ -389,8 +389,8 @@ href="../XML.html">XML</a> in-memory document. The parsing flags options
|
|
389
389
|
are a combination of xmlParserOption.
|
390
390
|
</p>
|
391
391
|
<p><a class="source-toggle" href="#"
|
392
|
-
onclick="toggleCode('
|
393
|
-
<div class="method-source-code" id="
|
392
|
+
onclick="toggleCode('M000266-source');return false;">[Source]</a></p>
|
393
|
+
<div class="method-source-code" id="M000266-source">
|
394
394
|
<pre>
|
395
395
|
/*
|
396
396
|
* call-seq:
|
@@ -425,11 +425,11 @@ ruby_xml_reader_new_data(int argc, VALUE *argv, VALUE self)
|
|
425
425
|
</div>
|
426
426
|
</div>
|
427
427
|
|
428
|
-
<div id="method-
|
429
|
-
<a name="
|
428
|
+
<div id="method-M000265" class="method-detail">
|
429
|
+
<a name="M000265"></a>
|
430
430
|
|
431
431
|
<div class="method-heading">
|
432
|
-
<a href="#
|
432
|
+
<a href="#M000265" class="method-signature">
|
433
433
|
<span class="method-name">XML::Reader.walker(doc) → reader<br />
|
434
434
|
XML::Reader.document(doc) → reader<br />
|
435
435
|
</span>
|
@@ -442,8 +442,8 @@ Create an <a href="../XML.html">XML</a> text reader for a preparsed
|
|
442
442
|
document.
|
443
443
|
</p>
|
444
444
|
<p><a class="source-toggle" href="#"
|
445
|
-
onclick="toggleCode('
|
446
|
-
<div class="method-source-code" id="
|
445
|
+
onclick="toggleCode('M000265-source');return false;">[Source]</a></p>
|
446
|
+
<div class="method-source-code" id="M000265-source">
|
447
447
|
<pre>
|
448
448
|
/*
|
449
449
|
* call-seq:
|
@@ -473,11 +473,11 @@ ruby_xml_reader_new_walker(VALUE self, VALUE doc)
|
|
473
473
|
|
474
474
|
<h3 class="section-bar">Public Instance methods</h3>
|
475
475
|
|
476
|
-
<div id="method-
|
477
|
-
<a name="
|
476
|
+
<div id="method-M000299" class="method-detail">
|
477
|
+
<a name="M000299"></a>
|
478
478
|
|
479
479
|
<div class="method-heading">
|
480
|
-
<a href="#
|
480
|
+
<a href="#M000299" class="method-signature">
|
481
481
|
<span class="method-name">reader[key] → value<br />
|
482
482
|
</span>
|
483
483
|
</a>
|
@@ -490,8 +490,8 @@ Provide the value of the attribute with the specified index (if
|
|
490
490
|
a string) relative to the containing element, as a string.
|
491
491
|
</p>
|
492
492
|
<p><a class="source-toggle" href="#"
|
493
|
-
onclick="toggleCode('
|
494
|
-
<div class="method-source-code" id="
|
493
|
+
onclick="toggleCode('M000299-source');return false;">[Source]</a></p>
|
494
|
+
<div class="method-source-code" id="M000299-source">
|
495
495
|
<pre>
|
496
496
|
/*
|
497
497
|
* call-seq:
|
@@ -522,11 +522,11 @@ ruby_xml_reader_attribute(VALUE self, VALUE key)
|
|
522
522
|
</div>
|
523
523
|
</div>
|
524
524
|
|
525
|
-
<div id="method-
|
526
|
-
<a name="
|
525
|
+
<div id="method-M000286" class="method-detail">
|
526
|
+
<a name="M000286"></a>
|
527
527
|
|
528
528
|
<div class="method-heading">
|
529
|
-
<a href="#
|
529
|
+
<a href="#M000286" class="method-signature">
|
530
530
|
<span class="method-name">reader.attribute_count → count<br />
|
531
531
|
</span>
|
532
532
|
</a>
|
@@ -537,8 +537,8 @@ ruby_xml_reader_attribute(VALUE self, VALUE key)
|
|
537
537
|
Provide the number of attributes of the current node.
|
538
538
|
</p>
|
539
539
|
<p><a class="source-toggle" href="#"
|
540
|
-
onclick="toggleCode('
|
541
|
-
<div class="method-source-code" id="
|
540
|
+
onclick="toggleCode('M000286-source');return false;">[Source]</a></p>
|
541
|
+
<div class="method-source-code" id="M000286-source">
|
542
542
|
<pre>
|
543
543
|
/*
|
544
544
|
* call-seq:
|
@@ -556,11 +556,11 @@ ruby_xml_reader_attr_count(VALUE self)
|
|
556
556
|
</div>
|
557
557
|
</div>
|
558
558
|
|
559
|
-
<div id="method-
|
560
|
-
<a name="
|
559
|
+
<div id="method-M000290" class="method-detail">
|
560
|
+
<a name="M000290"></a>
|
561
561
|
|
562
562
|
<div class="method-heading">
|
563
|
-
<a href="#
|
563
|
+
<a href="#M000290" class="method-signature">
|
564
564
|
<span class="method-name">reader.base_uri → URI<br />
|
565
565
|
</span>
|
566
566
|
</a>
|
@@ -571,8 +571,8 @@ ruby_xml_reader_attr_count(VALUE self)
|
|
571
571
|
Determine the base URI of the node.
|
572
572
|
</p>
|
573
573
|
<p><a class="source-toggle" href="#"
|
574
|
-
onclick="toggleCode('
|
575
|
-
<div class="method-source-code" id="
|
574
|
+
onclick="toggleCode('M000290-source');return false;">[Source]</a></p>
|
575
|
+
<div class="method-source-code" id="M000290-source">
|
576
576
|
<pre>
|
577
577
|
/*
|
578
578
|
* call-seq:
|
@@ -590,11 +590,11 @@ ruby_xml_reader_base_uri(VALUE self)
|
|
590
590
|
</div>
|
591
591
|
</div>
|
592
592
|
|
593
|
-
<div id="method-
|
594
|
-
<a name="
|
593
|
+
<div id="method-M000304" class="method-detail">
|
594
|
+
<a name="M000304"></a>
|
595
595
|
|
596
596
|
<div class="method-heading">
|
597
|
-
<a href="#
|
597
|
+
<a href="#M000304" class="method-signature">
|
598
598
|
<span class="method-name">reader.byte_consumed → value<br />
|
599
599
|
</span>
|
600
600
|
</a>
|
@@ -606,8 +606,8 @@ This method provides the current index of the parser used by the reader,
|
|
606
606
|
relative to the start of the current entity.
|
607
607
|
</p>
|
608
608
|
<p><a class="source-toggle" href="#"
|
609
|
-
onclick="toggleCode('
|
610
|
-
<div class="method-source-code" id="
|
609
|
+
onclick="toggleCode('M000304-source');return false;">[Source]</a></p>
|
610
|
+
<div class="method-source-code" id="M000304-source">
|
611
611
|
<pre>
|
612
612
|
/*
|
613
613
|
* call-seq:
|
@@ -626,11 +626,11 @@ ruby_xml_reader_byte_consumed(VALUE self)
|
|
626
626
|
</div>
|
627
627
|
</div>
|
628
628
|
|
629
|
-
<div id="method-
|
630
|
-
<a name="
|
629
|
+
<div id="method-M000267" class="method-detail">
|
630
|
+
<a name="M000267"></a>
|
631
631
|
|
632
632
|
<div class="method-heading">
|
633
|
-
<a href="#
|
633
|
+
<a href="#M000267" class="method-signature">
|
634
634
|
<span class="method-name">parser.close → code<br />
|
635
635
|
</span>
|
636
636
|
</a>
|
@@ -642,8 +642,8 @@ This method releases any resources allocated by the current instance
|
|
642
642
|
changes the state to Closed and close any underlying input.
|
643
643
|
</p>
|
644
644
|
<p><a class="source-toggle" href="#"
|
645
|
-
onclick="toggleCode('
|
646
|
-
<div class="method-source-code" id="
|
645
|
+
onclick="toggleCode('M000267-source');return false;">[Source]</a></p>
|
646
|
+
<div class="method-source-code" id="M000267-source">
|
647
647
|
<pre>
|
648
648
|
/*
|
649
649
|
* call-seq:
|
@@ -662,11 +662,11 @@ ruby_xml_reader_close(VALUE self)
|
|
662
662
|
</div>
|
663
663
|
</div>
|
664
664
|
|
665
|
-
<div id="method-
|
666
|
-
<a name="
|
665
|
+
<div id="method-M000305" class="method-detail">
|
666
|
+
<a name="M000305"></a>
|
667
667
|
|
668
668
|
<div class="method-heading">
|
669
|
-
<a href="#
|
669
|
+
<a href="#M000305" class="method-signature">
|
670
670
|
<span class="method-name">reader.column_number → number<br />
|
671
671
|
</span>
|
672
672
|
</a>
|
@@ -677,8 +677,8 @@ ruby_xml_reader_close(VALUE self)
|
|
677
677
|
Provide the column number of the current parsing point.
|
678
678
|
</p>
|
679
679
|
<p><a class="source-toggle" href="#"
|
680
|
-
onclick="toggleCode('
|
681
|
-
<div class="method-source-code" id="
|
680
|
+
onclick="toggleCode('M000305-source');return false;">[Source]</a></p>
|
681
|
+
<div class="method-source-code" id="M000305-source">
|
682
682
|
<pre>
|
683
683
|
/*
|
684
684
|
* call-seq:
|
@@ -696,11 +696,11 @@ ruby_xml_reader_column_number(VALUE self)
|
|
696
696
|
</div>
|
697
697
|
</div>
|
698
698
|
|
699
|
-
<div id="method-
|
700
|
-
<a name="
|
699
|
+
<div id="method-M000307" class="method-detail">
|
700
|
+
<a name="M000307"></a>
|
701
701
|
|
702
702
|
<div class="method-heading">
|
703
|
-
<a href="#
|
703
|
+
<a href="#M000307" class="method-signature">
|
704
704
|
<span class="method-name">reader.default? → bool<br />
|
705
705
|
</span>
|
706
706
|
</a>
|
@@ -712,8 +712,8 @@ Return whether an Attribute node was generated from the default value
|
|
712
712
|
defined in the DTD or schema.
|
713
713
|
</p>
|
714
714
|
<p><a class="source-toggle" href="#"
|
715
|
-
onclick="toggleCode('
|
716
|
-
<div class="method-source-code" id="
|
715
|
+
onclick="toggleCode('M000307-source');return false;">[Source]</a></p>
|
716
|
+
<div class="method-source-code" id="M000307-source">
|
717
717
|
<pre>
|
718
718
|
/*
|
719
719
|
* call-seq:
|
@@ -732,11 +732,11 @@ ruby_xml_reader_default(VALUE self)
|
|
732
732
|
</div>
|
733
733
|
</div>
|
734
734
|
|
735
|
-
<div id="method-
|
736
|
-
<a name="
|
735
|
+
<div id="method-M000295" class="method-detail">
|
736
|
+
<a name="M000295"></a>
|
737
737
|
|
738
738
|
<div class="method-heading">
|
739
|
-
<a href="#
|
739
|
+
<a href="#M000295" class="method-signature">
|
740
740
|
<span class="method-name">reader.depth → depth<br />
|
741
741
|
</span>
|
742
742
|
</a>
|
@@ -747,8 +747,8 @@ ruby_xml_reader_default(VALUE self)
|
|
747
747
|
Get the depth of the node in the tree.
|
748
748
|
</p>
|
749
749
|
<p><a class="source-toggle" href="#"
|
750
|
-
onclick="toggleCode('
|
751
|
-
<div class="method-source-code" id="
|
750
|
+
onclick="toggleCode('M000295-source');return false;">[Source]</a></p>
|
751
|
+
<div class="method-source-code" id="M000295-source">
|
752
752
|
<pre>
|
753
753
|
/*
|
754
754
|
* call-seq:
|
@@ -766,11 +766,11 @@ ruby_xml_reader_depth(VALUE self)
|
|
766
766
|
</div>
|
767
767
|
</div>
|
768
768
|
|
769
|
-
<div id="method-
|
770
|
-
<a name="
|
769
|
+
<div id="method-M000308" class="method-detail">
|
770
|
+
<a name="M000308"></a>
|
771
771
|
|
772
772
|
<div class="method-heading">
|
773
|
-
<a href="#
|
773
|
+
<a href="#M000308" class="method-signature">
|
774
774
|
<span class="method-name">reader.empty_element? → bool<br />
|
775
775
|
</span>
|
776
776
|
</a>
|
@@ -781,8 +781,8 @@ ruby_xml_reader_depth(VALUE self)
|
|
781
781
|
Check if the current node is empty.
|
782
782
|
</p>
|
783
783
|
<p><a class="source-toggle" href="#"
|
784
|
-
onclick="toggleCode('
|
785
|
-
<div class="method-source-code" id="
|
784
|
+
onclick="toggleCode('M000308-source');return false;">[Source]</a></p>
|
785
|
+
<div class="method-source-code" id="M000308-source">
|
786
786
|
<pre>
|
787
787
|
/*
|
788
788
|
* call-seq:
|
@@ -800,11 +800,11 @@ ruby_xml_reader_empty_element(VALUE self)
|
|
800
800
|
</div>
|
801
801
|
</div>
|
802
802
|
|
803
|
-
<div id="method-
|
804
|
-
<a name="
|
803
|
+
<div id="method-M000289" class="method-detail">
|
804
|
+
<a name="M000289"></a>
|
805
805
|
|
806
806
|
<div class="method-heading">
|
807
|
-
<a href="#
|
807
|
+
<a href="#M000289" class="method-signature">
|
808
808
|
<span class="method-name">reader.encoding → encoding<br />
|
809
809
|
</span>
|
810
810
|
</a>
|
@@ -815,8 +815,8 @@ ruby_xml_reader_empty_element(VALUE self)
|
|
815
815
|
Determine the encoding of the document being read.
|
816
816
|
</p>
|
817
817
|
<p><a class="source-toggle" href="#"
|
818
|
-
onclick="toggleCode('
|
819
|
-
<div class="method-source-code" id="
|
818
|
+
onclick="toggleCode('M000289-source');return false;">[Source]</a></p>
|
819
|
+
<div class="method-source-code" id="M000289-source">
|
820
820
|
<pre>
|
821
821
|
/*
|
822
822
|
* call-seq:
|
@@ -834,11 +834,11 @@ ruby_xml_reader_encoding(VALUE self)
|
|
834
834
|
</div>
|
835
835
|
</div>
|
836
836
|
|
837
|
-
<div id="method-
|
838
|
-
<a name="
|
837
|
+
<div id="method-M000303" class="method-detail">
|
838
|
+
<a name="M000303"></a>
|
839
839
|
|
840
840
|
<div class="method-heading">
|
841
|
-
<a href="#
|
841
|
+
<a href="#M000303" class="method-signature">
|
842
842
|
<span class="method-name">reader.expand → node<br />
|
843
843
|
</span>
|
844
844
|
</a>
|
@@ -854,8 +854,8 @@ Return an <a href="Node.html">XML::Node</a> object, or nil in case of
|
|
854
854
|
error.
|
855
855
|
</p>
|
856
856
|
<p><a class="source-toggle" href="#"
|
857
|
-
onclick="toggleCode('
|
858
|
-
<div class="method-source-code" id="
|
857
|
+
onclick="toggleCode('M000303-source');return false;">[Source]</a></p>
|
858
|
+
<div class="method-source-code" id="M000303-source">
|
859
859
|
<pre>
|
860
860
|
/*
|
861
861
|
* call-seq:
|
@@ -894,11 +894,11 @@ ruby_xml_reader_expand(VALUE self)
|
|
894
894
|
</div>
|
895
895
|
</div>
|
896
896
|
|
897
|
-
<div id="method-
|
898
|
-
<a name="
|
897
|
+
<div id="method-M000298" class="method-detail">
|
898
|
+
<a name="M000298"></a>
|
899
899
|
|
900
900
|
<div class="method-heading">
|
901
|
-
<a href="#
|
901
|
+
<a href="#M000298" class="method-signature">
|
902
902
|
<span class="method-name">reader.has_attributes? → bool<br />
|
903
903
|
</span>
|
904
904
|
</a>
|
@@ -909,8 +909,8 @@ ruby_xml_reader_expand(VALUE self)
|
|
909
909
|
Get whether the node has attributes.
|
910
910
|
</p>
|
911
911
|
<p><a class="source-toggle" href="#"
|
912
|
-
onclick="toggleCode('
|
913
|
-
<div class="method-source-code" id="
|
912
|
+
onclick="toggleCode('M000298-source');return false;">[Source]</a></p>
|
913
|
+
<div class="method-source-code" id="M000298-source">
|
914
914
|
<pre>
|
915
915
|
/*
|
916
916
|
* call-seq:
|
@@ -928,11 +928,11 @@ ruby_xml_reader_has_attributes(VALUE self)
|
|
928
928
|
</div>
|
929
929
|
</div>
|
930
930
|
|
931
|
-
<div id="method-
|
932
|
-
<a name="
|
931
|
+
<div id="method-M000300" class="method-detail">
|
932
|
+
<a name="M000300"></a>
|
933
933
|
|
934
934
|
<div class="method-heading">
|
935
|
-
<a href="#
|
935
|
+
<a href="#M000300" class="method-signature">
|
936
936
|
<span class="method-name">reader.has_value? → bool<br />
|
937
937
|
</span>
|
938
938
|
</a>
|
@@ -943,8 +943,8 @@ ruby_xml_reader_has_attributes(VALUE self)
|
|
943
943
|
Get whether the node can have a text value.
|
944
944
|
</p>
|
945
945
|
<p><a class="source-toggle" href="#"
|
946
|
-
onclick="toggleCode('
|
947
|
-
<div class="method-source-code" id="
|
946
|
+
onclick="toggleCode('M000300-source');return false;">[Source]</a></p>
|
947
|
+
<div class="method-source-code" id="M000300-source">
|
948
948
|
<pre>
|
949
949
|
/*
|
950
950
|
* call-seq:
|
@@ -962,11 +962,11 @@ ruby_xml_reader_has_value(VALUE self)
|
|
962
962
|
</div>
|
963
963
|
</div>
|
964
964
|
|
965
|
-
<div id="method-
|
966
|
-
<a name="
|
965
|
+
<div id="method-M000306" class="method-detail">
|
966
|
+
<a name="M000306"></a>
|
967
967
|
|
968
968
|
<div class="method-heading">
|
969
|
-
<a href="#
|
969
|
+
<a href="#M000306" class="method-signature">
|
970
970
|
<span class="method-name">reader.line_number → number<br />
|
971
971
|
</span>
|
972
972
|
</a>
|
@@ -977,8 +977,8 @@ ruby_xml_reader_has_value(VALUE self)
|
|
977
977
|
Provide the line number of the current parsing point.
|
978
978
|
</p>
|
979
979
|
<p><a class="source-toggle" href="#"
|
980
|
-
onclick="toggleCode('
|
981
|
-
<div class="method-source-code" id="
|
980
|
+
onclick="toggleCode('M000306-source');return false;">[Source]</a></p>
|
981
|
+
<div class="method-source-code" id="M000306-source">
|
982
982
|
<pre>
|
983
983
|
/*
|
984
984
|
* call-seq:
|
@@ -996,11 +996,11 @@ ruby_xml_reader_line_number(VALUE self)
|
|
996
996
|
</div>
|
997
997
|
</div>
|
998
998
|
|
999
|
-
<div id="method-
|
1000
|
-
<a name="
|
999
|
+
<div id="method-M000288" class="method-detail">
|
1000
|
+
<a name="M000288"></a>
|
1001
1001
|
|
1002
1002
|
<div class="method-heading">
|
1003
|
-
<a href="#
|
1003
|
+
<a href="#M000288" class="method-signature">
|
1004
1004
|
<span class="method-name">reader.local_name → name<br />
|
1005
1005
|
</span>
|
1006
1006
|
</a>
|
@@ -1011,8 +1011,8 @@ ruby_xml_reader_line_number(VALUE self)
|
|
1011
1011
|
Return the local name of the node.
|
1012
1012
|
</p>
|
1013
1013
|
<p><a class="source-toggle" href="#"
|
1014
|
-
onclick="toggleCode('
|
1015
|
-
<div class="method-source-code" id="
|
1014
|
+
onclick="toggleCode('M000288-source');return false;">[Source]</a></p>
|
1015
|
+
<div class="method-source-code" id="M000288-source">
|
1016
1016
|
<pre>
|
1017
1017
|
/*
|
1018
1018
|
* call-seq:
|
@@ -1030,11 +1030,11 @@ ruby_xml_reader_local_name(VALUE self)
|
|
1030
1030
|
</div>
|
1031
1031
|
</div>
|
1032
1032
|
|
1033
|
-
<div id="method-
|
1034
|
-
<a name="
|
1033
|
+
<div id="method-M000302" class="method-detail">
|
1034
|
+
<a name="M000302"></a>
|
1035
1035
|
|
1036
1036
|
<div class="method-heading">
|
1037
|
-
<a href="#
|
1037
|
+
<a href="#M000302" class="method-signature">
|
1038
1038
|
<span class="method-name">reader.lookup_namespace(prefix) → value<br />
|
1039
1039
|
</span>
|
1040
1040
|
</a>
|
@@ -1046,8 +1046,8 @@ Resolve a namespace prefix in the scope of the current element. To return
|
|
1046
1046
|
the default namespace, specify nil as <tt>prefix</tt>.
|
1047
1047
|
</p>
|
1048
1048
|
<p><a class="source-toggle" href="#"
|
1049
|
-
onclick="toggleCode('
|
1050
|
-
<div class="method-source-code" id="
|
1049
|
+
onclick="toggleCode('M000302-source');return false;">[Source]</a></p>
|
1050
|
+
<div class="method-source-code" id="M000302-source">
|
1051
1051
|
<pre>
|
1052
1052
|
/*
|
1053
1053
|
* call-seq:
|
@@ -1066,11 +1066,11 @@ ruby_xml_reader_lookup_namespace(VALUE self, VALUE prefix)
|
|
1066
1066
|
</div>
|
1067
1067
|
</div>
|
1068
1068
|
|
1069
|
-
<div id="method-
|
1070
|
-
<a name="
|
1069
|
+
<div id="method-M000268" class="method-detail">
|
1070
|
+
<a name="M000268"></a>
|
1071
1071
|
|
1072
1072
|
<div class="method-heading">
|
1073
|
-
<a href="#
|
1073
|
+
<a href="#M000268" class="method-signature">
|
1074
1074
|
<span class="method-name">parser.move_to_attribute(val) → code<br />
|
1075
1075
|
</span>
|
1076
1076
|
</a>
|
@@ -1083,8 +1083,8 @@ specified index (if <tt>val</tt> is an integer) or name (if <tt>val</tt> is
|
|
1083
1083
|
a string) relative to the containing element.
|
1084
1084
|
</p>
|
1085
1085
|
<p><a class="source-toggle" href="#"
|
1086
|
-
onclick="toggleCode('
|
1087
|
-
<div class="method-source-code" id="
|
1086
|
+
onclick="toggleCode('M000268-source');return false;">[Source]</a></p>
|
1087
|
+
<div class="method-source-code" id="M000268-source">
|
1088
1088
|
<pre>
|
1089
1089
|
/*
|
1090
1090
|
* call-seq:
|
@@ -1116,11 +1116,11 @@ ruby_xml_reader_move_to_attr(VALUE self, VALUE val)
|
|
1116
1116
|
</div>
|
1117
1117
|
</div>
|
1118
1118
|
|
1119
|
-
<div id="method-
|
1120
|
-
<a name="
|
1119
|
+
<div id="method-M000271" class="method-detail">
|
1120
|
+
<a name="M000271"></a>
|
1121
1121
|
|
1122
1122
|
<div class="method-heading">
|
1123
|
-
<a href="#
|
1123
|
+
<a href="#M000271" class="method-signature">
|
1124
1124
|
<span class="method-name">reader.move_to_element → code<br />
|
1125
1125
|
</span>
|
1126
1126
|
</a>
|
@@ -1132,8 +1132,8 @@ Move the position of the current instance to the node that contains the
|
|
1132
1132
|
current attribute node.
|
1133
1133
|
</p>
|
1134
1134
|
<p><a class="source-toggle" href="#"
|
1135
|
-
onclick="toggleCode('
|
1136
|
-
<div class="method-source-code" id="
|
1135
|
+
onclick="toggleCode('M000271-source');return false;">[Source]</a></p>
|
1136
|
+
<div class="method-source-code" id="M000271-source">
|
1137
1137
|
<pre>
|
1138
1138
|
/*
|
1139
1139
|
* call-seq:
|
@@ -1152,11 +1152,11 @@ ruby_xml_reader_move_to_element(VALUE self)
|
|
1152
1152
|
</div>
|
1153
1153
|
</div>
|
1154
1154
|
|
1155
|
-
<div id="method-
|
1156
|
-
<a name="
|
1155
|
+
<div id="method-M000269" class="method-detail">
|
1156
|
+
<a name="M000269"></a>
|
1157
1157
|
|
1158
1158
|
<div class="method-heading">
|
1159
|
-
<a href="#
|
1159
|
+
<a href="#M000269" class="method-signature">
|
1160
1160
|
<span class="method-name">reader.move_to_first_attribute → code<br />
|
1161
1161
|
</span>
|
1162
1162
|
</a>
|
@@ -1168,8 +1168,8 @@ Move the position of the current instance to the first attribute associated
|
|
1168
1168
|
with the current node.
|
1169
1169
|
</p>
|
1170
1170
|
<p><a class="source-toggle" href="#"
|
1171
|
-
onclick="toggleCode('
|
1172
|
-
<div class="method-source-code" id="
|
1171
|
+
onclick="toggleCode('M000269-source');return false;">[Source]</a></p>
|
1172
|
+
<div class="method-source-code" id="M000269-source">
|
1173
1173
|
<pre>
|
1174
1174
|
/*
|
1175
1175
|
* call-seq:
|
@@ -1188,11 +1188,11 @@ ruby_xml_reader_move_to_first_attr(VALUE self)
|
|
1188
1188
|
</div>
|
1189
1189
|
</div>
|
1190
1190
|
|
1191
|
-
<div id="method-
|
1192
|
-
<a name="
|
1191
|
+
<div id="method-M000270" class="method-detail">
|
1192
|
+
<a name="M000270"></a>
|
1193
1193
|
|
1194
1194
|
<div class="method-heading">
|
1195
|
-
<a href="#
|
1195
|
+
<a href="#M000270" class="method-signature">
|
1196
1196
|
<span class="method-name">reader.move_to_next_attribute → code<br />
|
1197
1197
|
</span>
|
1198
1198
|
</a>
|
@@ -1204,8 +1204,8 @@ Move the position of the current instance to the next attribute associated
|
|
1204
1204
|
with the current node.
|
1205
1205
|
</p>
|
1206
1206
|
<p><a class="source-toggle" href="#"
|
1207
|
-
onclick="toggleCode('
|
1208
|
-
<div class="method-source-code" id="
|
1207
|
+
onclick="toggleCode('M000270-source');return false;">[Source]</a></p>
|
1208
|
+
<div class="method-source-code" id="M000270-source">
|
1209
1209
|
<pre>
|
1210
1210
|
/*
|
1211
1211
|
* call-seq:
|
@@ -1224,11 +1224,11 @@ ruby_xml_reader_move_to_next_attr(VALUE self)
|
|
1224
1224
|
</div>
|
1225
1225
|
</div>
|
1226
1226
|
|
1227
|
-
<div id="method-
|
1228
|
-
<a name="
|
1227
|
+
<div id="method-M000287" class="method-detail">
|
1228
|
+
<a name="M000287"></a>
|
1229
1229
|
|
1230
1230
|
<div class="method-heading">
|
1231
|
-
<a href="#
|
1231
|
+
<a href="#M000287" class="method-signature">
|
1232
1232
|
<span class="method-name">reader.name → name<br />
|
1233
1233
|
</span>
|
1234
1234
|
</a>
|
@@ -1239,8 +1239,8 @@ ruby_xml_reader_move_to_next_attr(VALUE self)
|
|
1239
1239
|
Return the qualified name of the node.
|
1240
1240
|
</p>
|
1241
1241
|
<p><a class="source-toggle" href="#"
|
1242
|
-
onclick="toggleCode('
|
1243
|
-
<div class="method-source-code" id="
|
1242
|
+
onclick="toggleCode('M000287-source');return false;">[Source]</a></p>
|
1243
|
+
<div class="method-source-code" id="M000287-source">
|
1244
1244
|
<pre>
|
1245
1245
|
/*
|
1246
1246
|
* call-seq:
|
@@ -1258,11 +1258,11 @@ ruby_xml_reader_name(VALUE self)
|
|
1258
1258
|
</div>
|
1259
1259
|
</div>
|
1260
1260
|
|
1261
|
-
<div id="method-
|
1262
|
-
<a name="
|
1261
|
+
<div id="method-M000309" class="method-detail">
|
1262
|
+
<a name="M000309"></a>
|
1263
1263
|
|
1264
1264
|
<div class="method-heading">
|
1265
|
-
<a href="#
|
1265
|
+
<a href="#M000309" class="method-signature">
|
1266
1266
|
<span class="method-name">reader.namespace_declaration? → bool<br />
|
1267
1267
|
</span>
|
1268
1268
|
</a>
|
@@ -1274,8 +1274,8 @@ Determine whether the current node is a namespace declaration rather than a
|
|
1274
1274
|
regular attribute.
|
1275
1275
|
</p>
|
1276
1276
|
<p><a class="source-toggle" href="#"
|
1277
|
-
onclick="toggleCode('
|
1278
|
-
<div class="method-source-code" id="
|
1277
|
+
onclick="toggleCode('M000309-source');return false;">[Source]</a></p>
|
1278
|
+
<div class="method-source-code" id="M000309-source">
|
1279
1279
|
<pre>
|
1280
1280
|
/*
|
1281
1281
|
* call-seq:
|
@@ -1294,11 +1294,11 @@ ruby_xml_reader_namespace_declaration(VALUE self)
|
|
1294
1294
|
</div>
|
1295
1295
|
</div>
|
1296
1296
|
|
1297
|
-
<div id="method-
|
1298
|
-
<a name="
|
1297
|
+
<div id="method-M000291" class="method-detail">
|
1298
|
+
<a name="M000291"></a>
|
1299
1299
|
|
1300
1300
|
<div class="method-heading">
|
1301
|
-
<a href="#
|
1301
|
+
<a href="#M000291" class="method-signature">
|
1302
1302
|
<span class="method-name">reader.namespace_uri → URI<br />
|
1303
1303
|
</span>
|
1304
1304
|
</a>
|
@@ -1309,8 +1309,8 @@ ruby_xml_reader_namespace_declaration(VALUE self)
|
|
1309
1309
|
Determine the namespace URI of the node.
|
1310
1310
|
</p>
|
1311
1311
|
<p><a class="source-toggle" href="#"
|
1312
|
-
onclick="toggleCode('
|
1313
|
-
<div class="method-source-code" id="
|
1312
|
+
onclick="toggleCode('M000291-source');return false;">[Source]</a></p>
|
1313
|
+
<div class="method-source-code" id="M000291-source">
|
1314
1314
|
<pre>
|
1315
1315
|
/*
|
1316
1316
|
* call-seq:
|
@@ -1328,11 +1328,11 @@ ruby_xml_reader_namespace_uri(VALUE self)
|
|
1328
1328
|
</div>
|
1329
1329
|
</div>
|
1330
1330
|
|
1331
|
-
<div id="method-
|
1332
|
-
<a name="
|
1331
|
+
<div id="method-M000272" class="method-detail">
|
1332
|
+
<a name="M000272"></a>
|
1333
1333
|
|
1334
1334
|
<div class="method-heading">
|
1335
|
-
<a href="#
|
1335
|
+
<a href="#M000272" class="method-signature">
|
1336
1336
|
<span class="method-name">reader.next → code<br />
|
1337
1337
|
</span>
|
1338
1338
|
</a>
|
@@ -1344,8 +1344,8 @@ Skip to the node following the current one in document order while avoiding
|
|
1344
1344
|
the subtree if any.
|
1345
1345
|
</p>
|
1346
1346
|
<p><a class="source-toggle" href="#"
|
1347
|
-
onclick="toggleCode('
|
1348
|
-
<div class="method-source-code" id="
|
1347
|
+
onclick="toggleCode('M000272-source');return false;">[Source]</a></p>
|
1348
|
+
<div class="method-source-code" id="M000272-source">
|
1349
1349
|
<pre>
|
1350
1350
|
/*
|
1351
1351
|
* call-seq:
|
@@ -1364,11 +1364,11 @@ ruby_xml_reader_next(VALUE self)
|
|
1364
1364
|
</div>
|
1365
1365
|
</div>
|
1366
1366
|
|
1367
|
-
<div id="method-
|
1368
|
-
<a name="
|
1367
|
+
<div id="method-M000273" class="method-detail">
|
1368
|
+
<a name="M000273"></a>
|
1369
1369
|
|
1370
1370
|
<div class="method-heading">
|
1371
|
-
<a href="#
|
1371
|
+
<a href="#M000273" class="method-signature">
|
1372
1372
|
<span class="method-name">reader.next_sibling → code<br />
|
1373
1373
|
</span>
|
1374
1374
|
</a>
|
@@ -1381,8 +1381,8 @@ the subtree if any. Currently implemented only for Readers built on a
|
|
1381
1381
|
document.
|
1382
1382
|
</p>
|
1383
1383
|
<p><a class="source-toggle" href="#"
|
1384
|
-
onclick="toggleCode('
|
1385
|
-
<div class="method-source-code" id="
|
1384
|
+
onclick="toggleCode('M000273-source');return false;">[Source]</a></p>
|
1385
|
+
<div class="method-source-code" id="M000273-source">
|
1386
1386
|
<pre>
|
1387
1387
|
/*
|
1388
1388
|
* call-seq:
|
@@ -1402,11 +1402,11 @@ ruby_xml_reader_next_sibling(VALUE self)
|
|
1402
1402
|
</div>
|
1403
1403
|
</div>
|
1404
1404
|
|
1405
|
-
<div id="method-
|
1406
|
-
<a name="
|
1405
|
+
<div id="method-M000284" class="method-detail">
|
1406
|
+
<a name="M000284"></a>
|
1407
1407
|
|
1408
1408
|
<div class="method-heading">
|
1409
|
-
<a href="#
|
1409
|
+
<a href="#M000284" class="method-signature">
|
1410
1410
|
<span class="method-name">reader.node_type → type<br />
|
1411
1411
|
</span>
|
1412
1412
|
</a>
|
@@ -1418,8 +1418,8 @@ Get the node type of the current node. Reference: <a
|
|
1418
1418
|
href="http://dotgnu.org/pnetlib-doc/System/Xml/XmlNodeType.html">dotgnu.org/pnetlib-doc/System/Xml/XmlNodeType.html</a>
|
1419
1419
|
</p>
|
1420
1420
|
<p><a class="source-toggle" href="#"
|
1421
|
-
onclick="toggleCode('
|
1422
|
-
<div class="method-source-code" id="
|
1421
|
+
onclick="toggleCode('M000284-source');return false;">[Source]</a></p>
|
1422
|
+
<div class="method-source-code" id="M000284-source">
|
1423
1423
|
<pre>
|
1424
1424
|
/*
|
1425
1425
|
* call-seq:
|
@@ -1438,11 +1438,11 @@ ruby_xml_reader_node_type(VALUE self)
|
|
1438
1438
|
</div>
|
1439
1439
|
</div>
|
1440
1440
|
|
1441
|
-
<div id="method-
|
1442
|
-
<a name="
|
1441
|
+
<div id="method-M000285" class="method-detail">
|
1442
|
+
<a name="M000285"></a>
|
1443
1443
|
|
1444
1444
|
<div class="method-heading">
|
1445
|
-
<a href="#
|
1445
|
+
<a href="#M000285" class="method-signature">
|
1446
1446
|
<span class="method-name">reader.normalization → value<br />
|
1447
1447
|
</span>
|
1448
1448
|
</a>
|
@@ -1460,8 +1460,8 @@ The broken bahaviour of accepting out of range character entities like
|
|
1460
1460
|
Return 1 or -1 in case of error.
|
1461
1461
|
</p>
|
1462
1462
|
<p><a class="source-toggle" href="#"
|
1463
|
-
onclick="toggleCode('
|
1464
|
-
<div class="method-source-code" id="
|
1463
|
+
onclick="toggleCode('M000285-source');return false;">[Source]</a></p>
|
1464
|
+
<div class="method-source-code" id="M000285-source">
|
1465
1465
|
<pre>
|
1466
1466
|
/*
|
1467
1467
|
* call-seq:
|
@@ -1485,11 +1485,11 @@ ruby_xml_reader_normalization(VALUE self)
|
|
1485
1485
|
</div>
|
1486
1486
|
</div>
|
1487
1487
|
|
1488
|
-
<div id="method-
|
1489
|
-
<a name="
|
1488
|
+
<div id="method-M000294" class="method-detail">
|
1489
|
+
<a name="M000294"></a>
|
1490
1490
|
|
1491
1491
|
<div class="method-heading">
|
1492
|
-
<a href="#
|
1492
|
+
<a href="#M000294" class="method-signature">
|
1493
1493
|
<span class="method-name">reader.prefix → prefix<br />
|
1494
1494
|
</span>
|
1495
1495
|
</a>
|
@@ -1500,8 +1500,8 @@ ruby_xml_reader_normalization(VALUE self)
|
|
1500
1500
|
Get a shorthand reference to the namespace associated with the node.
|
1501
1501
|
</p>
|
1502
1502
|
<p><a class="source-toggle" href="#"
|
1503
|
-
onclick="toggleCode('
|
1504
|
-
<div class="method-source-code" id="
|
1503
|
+
onclick="toggleCode('M000294-source');return false;">[Source]</a></p>
|
1504
|
+
<div class="method-source-code" id="M000294-source">
|
1505
1505
|
<pre>
|
1506
1506
|
/*
|
1507
1507
|
* call-seq:
|
@@ -1519,11 +1519,11 @@ ruby_xml_reader_prefix(VALUE self)
|
|
1519
1519
|
</div>
|
1520
1520
|
</div>
|
1521
1521
|
|
1522
|
-
<div id="method-
|
1523
|
-
<a name="
|
1522
|
+
<div id="method-M000296" class="method-detail">
|
1523
|
+
<a name="M000296"></a>
|
1524
1524
|
|
1525
1525
|
<div class="method-heading">
|
1526
|
-
<a href="#
|
1526
|
+
<a href="#M000296" class="method-signature">
|
1527
1527
|
<span class="method-name">reader.quote_char → char<br />
|
1528
1528
|
</span>
|
1529
1529
|
</a>
|
@@ -1535,8 +1535,8 @@ Get the quotation mark character used to enclose the value of an attribute,
|
|
1535
1535
|
as an integer value (and -1 in case of error).
|
1536
1536
|
</p>
|
1537
1537
|
<p><a class="source-toggle" href="#"
|
1538
|
-
onclick="toggleCode('
|
1539
|
-
<div class="method-source-code" id="
|
1538
|
+
onclick="toggleCode('M000296-source');return false;">[Source]</a></p>
|
1539
|
+
<div class="method-source-code" id="M000296-source">
|
1540
1540
|
<pre>
|
1541
1541
|
/*
|
1542
1542
|
* call-seq:
|
@@ -1555,11 +1555,11 @@ ruby_xml_reader_quote_char(VALUE self)
|
|
1555
1555
|
</div>
|
1556
1556
|
</div>
|
1557
1557
|
|
1558
|
-
<div id="method-
|
1559
|
-
<a name="
|
1558
|
+
<div id="method-M000274" class="method-detail">
|
1559
|
+
<a name="M000274"></a>
|
1560
1560
|
|
1561
1561
|
<div class="method-heading">
|
1562
|
-
<a href="#
|
1562
|
+
<a href="#M000274" class="method-signature">
|
1563
1563
|
<span class="method-name">reader.read → code<br />
|
1564
1564
|
</span>
|
1565
1565
|
</a>
|
@@ -1575,8 +1575,8 @@ Return 1 if the node was read successfully, 0 if there is no more nodes to
|
|
1575
1575
|
read, or -1 in case of error.
|
1576
1576
|
</p>
|
1577
1577
|
<p><a class="source-toggle" href="#"
|
1578
|
-
onclick="toggleCode('
|
1579
|
-
<div class="method-source-code" id="
|
1578
|
+
onclick="toggleCode('M000274-source');return false;">[Source]</a></p>
|
1579
|
+
<div class="method-source-code" id="M000274-source">
|
1580
1580
|
<pre>
|
1581
1581
|
/*
|
1582
1582
|
* call-seq:
|
@@ -1598,11 +1598,11 @@ ruby_xml_reader_read(VALUE self)
|
|
1598
1598
|
</div>
|
1599
1599
|
</div>
|
1600
1600
|
|
1601
|
-
<div id="method-
|
1602
|
-
<a name="
|
1601
|
+
<div id="method-M000275" class="method-detail">
|
1602
|
+
<a name="M000275"></a>
|
1603
1603
|
|
1604
1604
|
<div class="method-heading">
|
1605
|
-
<a href="#
|
1605
|
+
<a href="#M000275" class="method-signature">
|
1606
1606
|
<span class="method-name">reader.read_attribute_value → code<br />
|
1607
1607
|
</span>
|
1608
1608
|
</a>
|
@@ -1618,8 +1618,8 @@ attribute node or all the attribute values have been read, or -1 in case of
|
|
1618
1618
|
error.
|
1619
1619
|
</p>
|
1620
1620
|
<p><a class="source-toggle" href="#"
|
1621
|
-
onclick="toggleCode('
|
1622
|
-
<div class="method-source-code" id="
|
1621
|
+
onclick="toggleCode('M000275-source');return false;">[Source]</a></p>
|
1622
|
+
<div class="method-source-code" id="M000275-source">
|
1623
1623
|
<pre>
|
1624
1624
|
/*
|
1625
1625
|
* call-seq:
|
@@ -1641,11 +1641,11 @@ ruby_xml_reader_read_attr_value(VALUE self)
|
|
1641
1641
|
</div>
|
1642
1642
|
</div>
|
1643
1643
|
|
1644
|
-
<div id="method-
|
1645
|
-
<a name="
|
1644
|
+
<div id="method-M000276" class="method-detail">
|
1645
|
+
<a name="M000276"></a>
|
1646
1646
|
|
1647
1647
|
<div class="method-heading">
|
1648
|
-
<a href="#
|
1648
|
+
<a href="#M000276" class="method-signature">
|
1649
1649
|
<span class="method-name">reader.read_inner_xml → data<br />
|
1650
1650
|
</span>
|
1651
1651
|
</a>
|
@@ -1661,8 +1661,8 @@ nil if the current node is neither an element nor attribute, or has no
|
|
1661
1661
|
child nodes.
|
1662
1662
|
</p>
|
1663
1663
|
<p><a class="source-toggle" href="#"
|
1664
|
-
onclick="toggleCode('
|
1665
|
-
<div class="method-source-code" id="
|
1664
|
+
onclick="toggleCode('M000276-source');return false;">[Source]</a></p>
|
1665
|
+
<div class="method-source-code" id="M000276-source">
|
1666
1666
|
<pre>
|
1667
1667
|
/*
|
1668
1668
|
* call-seq:
|
@@ -1683,11 +1683,11 @@ ruby_xml_reader_read_inner_xml(VALUE self)
|
|
1683
1683
|
</div>
|
1684
1684
|
</div>
|
1685
1685
|
|
1686
|
-
<div id="method-
|
1687
|
-
<a name="
|
1686
|
+
<div id="method-M000277" class="method-detail">
|
1687
|
+
<a name="M000277"></a>
|
1688
1688
|
|
1689
1689
|
<div class="method-heading">
|
1690
|
-
<a href="#
|
1690
|
+
<a href="#M000277" class="method-signature">
|
1691
1691
|
<span class="method-name">reader.read_outer_xml → data<br />
|
1692
1692
|
</span>
|
1693
1693
|
</a>
|
@@ -1703,8 +1703,8 @@ nil if the current node is neither an element nor attribute, or has no
|
|
1703
1703
|
child nodes.
|
1704
1704
|
</p>
|
1705
1705
|
<p><a class="source-toggle" href="#"
|
1706
|
-
onclick="toggleCode('
|
1707
|
-
<div class="method-source-code" id="
|
1706
|
+
onclick="toggleCode('M000277-source');return false;">[Source]</a></p>
|
1707
|
+
<div class="method-source-code" id="M000277-source">
|
1708
1708
|
<pre>
|
1709
1709
|
/*
|
1710
1710
|
* call-seq:
|
@@ -1725,11 +1725,11 @@ ruby_xml_reader_read_outer_xml(VALUE self)
|
|
1725
1725
|
</div>
|
1726
1726
|
</div>
|
1727
1727
|
|
1728
|
-
<div id="method-
|
1729
|
-
<a name="
|
1728
|
+
<div id="method-M000278" class="method-detail">
|
1729
|
+
<a name="M000278"></a>
|
1730
1730
|
|
1731
1731
|
<div class="method-heading">
|
1732
|
-
<a href="#
|
1732
|
+
<a href="#M000278" class="method-signature">
|
1733
1733
|
<span class="method-name">reader.read_state → state<br />
|
1734
1734
|
</span>
|
1735
1735
|
</a>
|
@@ -1740,8 +1740,8 @@ ruby_xml_reader_read_outer_xml(VALUE self)
|
|
1740
1740
|
Get the read state of the reader.
|
1741
1741
|
</p>
|
1742
1742
|
<p><a class="source-toggle" href="#"
|
1743
|
-
onclick="toggleCode('
|
1744
|
-
<div class="method-source-code" id="
|
1743
|
+
onclick="toggleCode('M000278-source');return false;">[Source]</a></p>
|
1744
|
+
<div class="method-source-code" id="M000278-source">
|
1745
1745
|
<pre>
|
1746
1746
|
/*
|
1747
1747
|
* call-seq:
|
@@ -1759,11 +1759,11 @@ ruby_xml_reader_read_state(VALUE self)
|
|
1759
1759
|
</div>
|
1760
1760
|
</div>
|
1761
1761
|
|
1762
|
-
<div id="method-
|
1763
|
-
<a name="
|
1762
|
+
<div id="method-M000279" class="method-detail">
|
1763
|
+
<a name="M000279"></a>
|
1764
1764
|
|
1765
1765
|
<div class="method-heading">
|
1766
|
-
<a href="#
|
1766
|
+
<a href="#M000279" class="method-signature">
|
1767
1767
|
<span class="method-name">reader.read_string → string<br />
|
1768
1768
|
</span>
|
1769
1769
|
</a>
|
@@ -1778,8 +1778,8 @@ Return a string containing the contents of the Element or Text node, or nil
|
|
1778
1778
|
if the reader is positioned on any other type of node.
|
1779
1779
|
</p>
|
1780
1780
|
<p><a class="source-toggle" href="#"
|
1781
|
-
onclick="toggleCode('
|
1782
|
-
<div class="method-source-code" id="
|
1781
|
+
onclick="toggleCode('M000279-source');return false;">[Source]</a></p>
|
1782
|
+
<div class="method-source-code" id="M000279-source">
|
1783
1783
|
<pre>
|
1784
1784
|
/*
|
1785
1785
|
* call-seq:
|
@@ -1800,11 +1800,11 @@ ruby_xml_reader_read_string(VALUE self)
|
|
1800
1800
|
</div>
|
1801
1801
|
</div>
|
1802
1802
|
|
1803
|
-
<div id="method-
|
1804
|
-
<a name="
|
1803
|
+
<div id="method-M000282" class="method-detail">
|
1804
|
+
<a name="M000282"></a>
|
1805
1805
|
|
1806
1806
|
<div class="method-heading">
|
1807
|
-
<a href="#
|
1807
|
+
<a href="#M000282" class="method-signature">
|
1808
1808
|
<span class="method-name">reader.relax_ng_validate(rng) → code<br />
|
1809
1809
|
</span>
|
1810
1810
|
</a>
|
@@ -1821,8 +1821,8 @@ Return 0 in case the RelaxNG validation could be (des)activated and -1 in
|
|
1821
1821
|
case of error.
|
1822
1822
|
</p>
|
1823
1823
|
<p><a class="source-toggle" href="#"
|
1824
|
-
onclick="toggleCode('
|
1825
|
-
<div class="method-source-code" id="
|
1824
|
+
onclick="toggleCode('M000282-source');return false;">[Source]</a></p>
|
1825
|
+
<div class="method-source-code" id="M000282-source">
|
1826
1826
|
<pre>
|
1827
1827
|
/*
|
1828
1828
|
* call-seq:
|
@@ -1845,11 +1845,11 @@ ruby_xml_reader_relax_ng_validate(VALUE self, VALUE rng)
|
|
1845
1845
|
</div>
|
1846
1846
|
</div>
|
1847
1847
|
|
1848
|
-
<div id="method-
|
1849
|
-
<a name="
|
1848
|
+
<div id="method-M000281" class="method-detail">
|
1849
|
+
<a name="M000281"></a>
|
1850
1850
|
|
1851
1851
|
<div class="method-heading">
|
1852
|
-
<a href="#
|
1852
|
+
<a href="#M000281" class="method-signature">
|
1853
1853
|
<span class="method-name">reader.reset_error_handler<br />
|
1854
1854
|
</span>
|
1855
1855
|
</a>
|
@@ -1860,8 +1860,8 @@ ruby_xml_reader_relax_ng_validate(VALUE self, VALUE rng)
|
|
1860
1860
|
Restore the default error and warning handlers.
|
1861
1861
|
</p>
|
1862
1862
|
<p><a class="source-toggle" href="#"
|
1863
|
-
onclick="toggleCode('
|
1864
|
-
<div class="method-source-code" id="
|
1863
|
+
onclick="toggleCode('M000281-source');return false;">[Source]</a></p>
|
1864
|
+
<div class="method-source-code" id="M000281-source">
|
1865
1865
|
<pre>
|
1866
1866
|
/*
|
1867
1867
|
* call-seq:
|
@@ -1880,11 +1880,11 @@ ruby_xml_reader_reset_error_handler(VALUE self)
|
|
1880
1880
|
</div>
|
1881
1881
|
</div>
|
1882
1882
|
|
1883
|
-
<div id="method-
|
1884
|
-
<a name="
|
1883
|
+
<div id="method-M000283" class="method-detail">
|
1884
|
+
<a name="M000283"></a>
|
1885
1885
|
|
1886
1886
|
<div class="method-heading">
|
1887
|
-
<a href="#
|
1887
|
+
<a href="#M000283" class="method-signature">
|
1888
1888
|
<span class="method-name">reader.schema_validate(schema) → code<br />
|
1889
1889
|
</span>
|
1890
1890
|
</a>
|
@@ -1894,15 +1894,16 @@ ruby_xml_reader_reset_error_handler(VALUE self)
|
|
1894
1894
|
<p>
|
1895
1895
|
Use W3C XSD schema to validate the document as it is processed. Activation
|
1896
1896
|
is only possible before the first read. If <tt>schema</tt> is nil, then <a
|
1897
|
-
href="../XML.html">XML</a> Schema validation is
|
1897
|
+
href="../XML.html">XML</a> <a href="Schema.html">Schema</a> validation is
|
1898
|
+
desactivated.
|
1898
1899
|
</p>
|
1899
1900
|
<p>
|
1900
1901
|
Return 0 in case the schemas validation could be (de)activated and -1 in
|
1901
1902
|
case of error.
|
1902
1903
|
</p>
|
1903
1904
|
<p><a class="source-toggle" href="#"
|
1904
|
-
onclick="toggleCode('
|
1905
|
-
<div class="method-source-code" id="
|
1905
|
+
onclick="toggleCode('M000283-source');return false;">[Source]</a></p>
|
1906
|
+
<div class="method-source-code" id="M000283-source">
|
1906
1907
|
<pre>
|
1907
1908
|
/*
|
1908
1909
|
* call-seq:
|
@@ -1925,11 +1926,11 @@ ruby_xml_reader_schema_validate(VALUE self, VALUE xsd)
|
|
1925
1926
|
</div>
|
1926
1927
|
</div>
|
1927
1928
|
|
1928
|
-
<div id="method-
|
1929
|
-
<a name="
|
1929
|
+
<div id="method-M000280" class="method-detail">
|
1930
|
+
<a name="M000280"></a>
|
1930
1931
|
|
1931
1932
|
<div class="method-heading">
|
1932
|
-
<a href="#
|
1933
|
+
<a href="#M000280" class="method-signature">
|
1933
1934
|
<span class="method-name">reader.set_error_handler { ... }<br />
|
1934
1935
|
</span>
|
1935
1936
|
</a>
|
@@ -1942,8 +1943,8 @@ block will be called with 5 parameters: the reader, the error message, the
|
|
1942
1943
|
severity, the base URI and the line number.
|
1943
1944
|
</p>
|
1944
1945
|
<p><a class="source-toggle" href="#"
|
1945
|
-
onclick="toggleCode('
|
1946
|
-
<div class="method-source-code" id="
|
1946
|
+
onclick="toggleCode('M000280-source');return false;">[Source]</a></p>
|
1947
|
+
<div class="method-source-code" id="M000280-source">
|
1947
1948
|
<pre>
|
1948
1949
|
/*
|
1949
1950
|
* call-seq:
|
@@ -1978,11 +1979,11 @@ ruby_xml_reader_set_error_handler(VALUE self)
|
|
1978
1979
|
</div>
|
1979
1980
|
</div>
|
1980
1981
|
|
1981
|
-
<div id="method-
|
1982
|
-
<a name="
|
1982
|
+
<div id="method-M000297" class="method-detail">
|
1983
|
+
<a name="M000297"></a>
|
1983
1984
|
|
1984
1985
|
<div class="method-heading">
|
1985
|
-
<a href="#
|
1986
|
+
<a href="#M000297" class="method-signature">
|
1986
1987
|
<span class="method-name">reader.standalone → code<br />
|
1987
1988
|
</span>
|
1988
1989
|
</a>
|
@@ -1998,8 +1999,8 @@ declared to be not standalone, or -1 if the document did not specify its
|
|
1998
1999
|
standalone status or in case of error.
|
1999
2000
|
</p>
|
2000
2001
|
<p><a class="source-toggle" href="#"
|
2001
|
-
onclick="toggleCode('
|
2002
|
-
<div class="method-source-code" id="
|
2002
|
+
onclick="toggleCode('M000297-source');return false;">[Source]</a></p>
|
2003
|
+
<div class="method-source-code" id="M000297-source">
|
2003
2004
|
<pre>
|
2004
2005
|
/*
|
2005
2006
|
* call-seq:
|
@@ -2021,11 +2022,11 @@ ruby_xml_reader_standalone(VALUE self)
|
|
2021
2022
|
</div>
|
2022
2023
|
</div>
|
2023
2024
|
|
2024
|
-
<div id="method-
|
2025
|
-
<a name="
|
2025
|
+
<div id="method-M000310" class="method-detail">
|
2026
|
+
<a name="M000310"></a>
|
2026
2027
|
|
2027
2028
|
<div class="method-heading">
|
2028
|
-
<a href="#
|
2029
|
+
<a href="#M000310" class="method-signature">
|
2029
2030
|
<span class="method-name">reader.valid? → bool<br />
|
2030
2031
|
</span>
|
2031
2032
|
</a>
|
@@ -2036,8 +2037,8 @@ ruby_xml_reader_standalone(VALUE self)
|
|
2036
2037
|
Retrieve the validity status from the parser context.
|
2037
2038
|
</p>
|
2038
2039
|
<p><a class="source-toggle" href="#"
|
2039
|
-
onclick="toggleCode('
|
2040
|
-
<div class="method-source-code" id="
|
2040
|
+
onclick="toggleCode('M000310-source');return false;">[Source]</a></p>
|
2041
|
+
<div class="method-source-code" id="M000310-source">
|
2041
2042
|
<pre>
|
2042
2043
|
/*
|
2043
2044
|
* call-seq:
|
@@ -2055,11 +2056,11 @@ ruby_xml_reader_valid(VALUE self)
|
|
2055
2056
|
</div>
|
2056
2057
|
</div>
|
2057
2058
|
|
2058
|
-
<div id="method-
|
2059
|
-
<a name="
|
2059
|
+
<div id="method-M000301" class="method-detail">
|
2060
|
+
<a name="M000301"></a>
|
2060
2061
|
|
2061
2062
|
<div class="method-heading">
|
2062
|
-
<a href="#
|
2063
|
+
<a href="#M000301" class="method-signature">
|
2063
2064
|
<span class="method-name">reader.value → text<br />
|
2064
2065
|
</span>
|
2065
2066
|
</a>
|
@@ -2070,8 +2071,8 @@ ruby_xml_reader_valid(VALUE self)
|
|
2070
2071
|
Provide the text value of the node if present.
|
2071
2072
|
</p>
|
2072
2073
|
<p><a class="source-toggle" href="#"
|
2073
|
-
onclick="toggleCode('
|
2074
|
-
<div class="method-source-code" id="
|
2074
|
+
onclick="toggleCode('M000301-source');return false;">[Source]</a></p>
|
2075
|
+
<div class="method-source-code" id="M000301-source">
|
2075
2076
|
<pre>
|
2076
2077
|
/*
|
2077
2078
|
* call-seq:
|
@@ -2089,11 +2090,11 @@ ruby_xml_reader_value(VALUE self)
|
|
2089
2090
|
</div>
|
2090
2091
|
</div>
|
2091
2092
|
|
2092
|
-
<div id="method-
|
2093
|
-
<a name="
|
2093
|
+
<div id="method-M000292" class="method-detail">
|
2094
|
+
<a name="M000292"></a>
|
2094
2095
|
|
2095
2096
|
<div class="method-heading">
|
2096
|
-
<a href="#
|
2097
|
+
<a href="#M000292" class="method-signature">
|
2097
2098
|
<span class="method-name">reader.xml_lang → value<br />
|
2098
2099
|
</span>
|
2099
2100
|
</a>
|
@@ -2104,8 +2105,8 @@ ruby_xml_reader_value(VALUE self)
|
|
2104
2105
|
Get the xml:lang scope within which the node resides.
|
2105
2106
|
</p>
|
2106
2107
|
<p><a class="source-toggle" href="#"
|
2107
|
-
onclick="toggleCode('
|
2108
|
-
<div class="method-source-code" id="
|
2108
|
+
onclick="toggleCode('M000292-source');return false;">[Source]</a></p>
|
2109
|
+
<div class="method-source-code" id="M000292-source">
|
2109
2110
|
<pre>
|
2110
2111
|
/*
|
2111
2112
|
* call-seq:
|
@@ -2123,11 +2124,11 @@ ruby_xml_reader_xml_lang(VALUE self)
|
|
2123
2124
|
</div>
|
2124
2125
|
</div>
|
2125
2126
|
|
2126
|
-
<div id="method-
|
2127
|
-
<a name="
|
2127
|
+
<div id="method-M000293" class="method-detail">
|
2128
|
+
<a name="M000293"></a>
|
2128
2129
|
|
2129
2130
|
<div class="method-heading">
|
2130
|
-
<a href="#
|
2131
|
+
<a href="#M000293" class="method-signature">
|
2131
2132
|
<span class="method-name">reader.xml_version → version<br />
|
2132
2133
|
</span>
|
2133
2134
|
</a>
|
@@ -2139,8 +2140,8 @@ Determine the <a href="../XML.html">XML</a> version of the document being
|
|
2139
2140
|
read.
|
2140
2141
|
</p>
|
2141
2142
|
<p><a class="source-toggle" href="#"
|
2142
|
-
onclick="toggleCode('
|
2143
|
-
<div class="method-source-code" id="
|
2143
|
+
onclick="toggleCode('M000293-source');return false;">[Source]</a></p>
|
2144
|
+
<div class="method-source-code" id="M000293-source">
|
2144
2145
|
<pre>
|
2145
2146
|
/*
|
2146
2147
|
* call-seq:
|