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::SaxParser</title>
|
8
|
+
<title>Class: LibXML::XML::SaxParser</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::SaxParser</td>
|
53
|
+
<td class="class-name-in-header">LibXML::XML::SaxParser</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,14 +86,14 @@
|
|
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="#
|
89
|
+
<a href="#M000315">callbacks</a>
|
90
|
+
<a href="#M000316">callbacks=</a>
|
91
|
+
<a href="#M000313">filename</a>
|
92
|
+
<a href="#M000314">filename=</a>
|
93
|
+
<a href="#M000312">new</a>
|
94
|
+
<a href="#M000317">parse</a>
|
95
|
+
<a href="#M000318">string</a>
|
96
|
+
<a href="#M000319">string=</a>
|
97
97
|
</div>
|
98
98
|
</div>
|
99
99
|
|
@@ -115,11 +115,11 @@
|
|
115
115
|
<div id="methods">
|
116
116
|
<h3 class="section-bar">Public Class methods</h3>
|
117
117
|
|
118
|
-
<div id="method-
|
119
|
-
<a name="
|
118
|
+
<div id="method-M000312" class="method-detail">
|
119
|
+
<a name="M000312"></a>
|
120
120
|
|
121
121
|
<div class="method-heading">
|
122
|
-
<a href="#
|
122
|
+
<a href="#M000312" class="method-signature">
|
123
123
|
<span class="method-name">XML::SaxParser.new → sax_parser<br />
|
124
124
|
</span>
|
125
125
|
</a>
|
@@ -130,8 +130,8 @@
|
|
130
130
|
Create a new <a href="SaxParser.html">XML::SaxParser</a> instance.
|
131
131
|
</p>
|
132
132
|
<p><a class="source-toggle" href="#"
|
133
|
-
onclick="toggleCode('
|
134
|
-
<div class="method-source-code" id="
|
133
|
+
onclick="toggleCode('M000312-source');return false;">[Source]</a></p>
|
134
|
+
<div class="method-source-code" id="M000312-source">
|
135
135
|
<pre>
|
136
136
|
/*
|
137
137
|
* call-seq:
|
@@ -149,11 +149,11 @@ ruby_xml_sax_parser_new(VALUE class) {
|
|
149
149
|
|
150
150
|
<h3 class="section-bar">Public Instance methods</h3>
|
151
151
|
|
152
|
-
<div id="method-
|
153
|
-
<a name="
|
152
|
+
<div id="method-M000315" class="method-detail">
|
153
|
+
<a name="M000315"></a>
|
154
154
|
|
155
155
|
<div class="method-heading">
|
156
|
-
<a href="#
|
156
|
+
<a href="#M000315" class="method-signature">
|
157
157
|
<span class="method-name">sax_parser.callbacks → #<XML::SaxParser::Callbacks subclass><br />
|
158
158
|
</span>
|
159
159
|
</a>
|
@@ -164,8 +164,8 @@ ruby_xml_sax_parser_new(VALUE class) {
|
|
164
164
|
Obtain the callbacks used by this parser.
|
165
165
|
</p>
|
166
166
|
<p><a class="source-toggle" href="#"
|
167
|
-
onclick="toggleCode('
|
168
|
-
<div class="method-source-code" id="
|
167
|
+
onclick="toggleCode('M000315-source');return false;">[Source]</a></p>
|
168
|
+
<div class="method-source-code" id="M000315-source">
|
169
169
|
<pre>
|
170
170
|
/*
|
171
171
|
* call-seq:
|
@@ -181,11 +181,11 @@ ruby_xml_sax_parser_callbacks_get(VALUE self) {
|
|
181
181
|
</div>
|
182
182
|
</div>
|
183
183
|
|
184
|
-
<div id="method-
|
185
|
-
<a name="
|
184
|
+
<div id="method-M000316" class="method-detail">
|
185
|
+
<a name="M000316"></a>
|
186
186
|
|
187
187
|
<div class="method-heading">
|
188
|
-
<a href="#
|
188
|
+
<a href="#M000316" class="method-signature">
|
189
189
|
<span class="method-name">sax_parser.callbacks = #<XML::SaxParser::Callbacks subclass><br />
|
190
190
|
</span>
|
191
191
|
</a>
|
@@ -199,8 +199,8 @@ XML::SaxParser::Callbacks module, overriding the callbacks it wishes to
|
|
199
199
|
process.
|
200
200
|
</p>
|
201
201
|
<p><a class="source-toggle" href="#"
|
202
|
-
onclick="toggleCode('
|
203
|
-
<div class="method-source-code" id="
|
202
|
+
onclick="toggleCode('M000316-source');return false;">[Source]</a></p>
|
203
|
+
<div class="method-source-code" id="M000316-source">
|
204
204
|
<pre>
|
205
205
|
/*
|
206
206
|
* call-seq:
|
@@ -219,11 +219,11 @@ ruby_xml_sax_parser_callbacks_set(VALUE self, VALUE callbacks) {
|
|
219
219
|
</div>
|
220
220
|
</div>
|
221
221
|
|
222
|
-
<div id="method-
|
223
|
-
<a name="
|
222
|
+
<div id="method-M000313" class="method-detail">
|
223
|
+
<a name="M000313"></a>
|
224
224
|
|
225
225
|
<div class="method-heading">
|
226
|
-
<a href="#
|
226
|
+
<a href="#M000313" class="method-signature">
|
227
227
|
<span class="method-name">sax_parser.filename → "filename"<br />
|
228
228
|
</span>
|
229
229
|
</a>
|
@@ -234,8 +234,8 @@ ruby_xml_sax_parser_callbacks_set(VALUE self, VALUE callbacks) {
|
|
234
234
|
Obtain the filename this parser reads from.
|
235
235
|
</p>
|
236
236
|
<p><a class="source-toggle" href="#"
|
237
|
-
onclick="toggleCode('
|
238
|
-
<div class="method-source-code" id="
|
237
|
+
onclick="toggleCode('M000313-source');return false;">[Source]</a></p>
|
238
|
+
<div class="method-source-code" id="M000313-source">
|
239
239
|
<pre>
|
240
240
|
/*
|
241
241
|
* call-seq:
|
@@ -251,11 +251,11 @@ ruby_xml_sax_parser_filename_get(VALUE self) {
|
|
251
251
|
</div>
|
252
252
|
</div>
|
253
253
|
|
254
|
-
<div id="method-
|
255
|
-
<a name="
|
254
|
+
<div id="method-M000314" class="method-detail">
|
255
|
+
<a name="M000314"></a>
|
256
256
|
|
257
257
|
<div class="method-heading">
|
258
|
-
<a href="#
|
258
|
+
<a href="#M000314" class="method-signature">
|
259
259
|
<span class="method-name">sax_parser.filename = "filename"<br />
|
260
260
|
</span>
|
261
261
|
</a>
|
@@ -266,8 +266,8 @@ ruby_xml_sax_parser_filename_get(VALUE self) {
|
|
266
266
|
Set the filename this parser reads from.
|
267
267
|
</p>
|
268
268
|
<p><a class="source-toggle" href="#"
|
269
|
-
onclick="toggleCode('
|
270
|
-
<div class="method-source-code" id="
|
269
|
+
onclick="toggleCode('M000314-source');return false;">[Source]</a></p>
|
270
|
+
<div class="method-source-code" id="M000314-source">
|
271
271
|
<pre>
|
272
272
|
/*
|
273
273
|
* call-seq:
|
@@ -283,11 +283,11 @@ ruby_xml_sax_parser_filename_set(VALUE self, VALUE filename) {
|
|
283
283
|
</div>
|
284
284
|
</div>
|
285
285
|
|
286
|
-
<div id="method-
|
287
|
-
<a name="
|
286
|
+
<div id="method-M000317" class="method-detail">
|
287
|
+
<a name="M000317"></a>
|
288
288
|
|
289
289
|
<div class="method-heading">
|
290
|
-
<a href="#
|
290
|
+
<a href="#M000317" class="method-signature">
|
291
291
|
<span class="method-name">parser.parse → (true|false)<br />
|
292
292
|
</span>
|
293
293
|
</a>
|
@@ -299,8 +299,8 @@ Parse the input <a href="../XML.html">XML</a>, generating callbacks to the
|
|
299
299
|
object registered via the <tt>callbacks</tt> attributesibute.
|
300
300
|
</p>
|
301
301
|
<p><a class="source-toggle" href="#"
|
302
|
-
onclick="toggleCode('
|
303
|
-
<div class="method-source-code" id="
|
302
|
+
onclick="toggleCode('M000317-source');return false;">[Source]</a></p>
|
303
|
+
<div class="method-source-code" id="M000317-source">
|
304
304
|
<pre>
|
305
305
|
/*
|
306
306
|
* call-seq:
|
@@ -317,11 +317,11 @@ ruby_xml_sax_parser_parse(VALUE self) {
|
|
317
317
|
</div>
|
318
318
|
</div>
|
319
319
|
|
320
|
-
<div id="method-
|
321
|
-
<a name="
|
320
|
+
<div id="method-M000318" class="method-detail">
|
321
|
+
<a name="M000318"></a>
|
322
322
|
|
323
323
|
<div class="method-heading">
|
324
|
-
<a href="#
|
324
|
+
<a href="#M000318" class="method-signature">
|
325
325
|
<span class="method-name">parser.string → "xml"<br />
|
326
326
|
</span>
|
327
327
|
</a>
|
@@ -332,8 +332,8 @@ ruby_xml_sax_parser_parse(VALUE self) {
|
|
332
332
|
Obtain the parser’s input string.
|
333
333
|
</p>
|
334
334
|
<p><a class="source-toggle" href="#"
|
335
|
-
onclick="toggleCode('
|
336
|
-
<div class="method-source-code" id="
|
335
|
+
onclick="toggleCode('M000318-source');return false;">[Source]</a></p>
|
336
|
+
<div class="method-source-code" id="M000318-source">
|
337
337
|
<pre>
|
338
338
|
/*
|
339
339
|
* call-seq:
|
@@ -349,11 +349,11 @@ ruby_xml_sax_parser_str_get(VALUE self) {
|
|
349
349
|
</div>
|
350
350
|
</div>
|
351
351
|
|
352
|
-
<div id="method-
|
353
|
-
<a name="
|
352
|
+
<div id="method-M000319" class="method-detail">
|
353
|
+
<a name="M000319"></a>
|
354
354
|
|
355
355
|
<div class="method-heading">
|
356
|
-
<a href="#
|
356
|
+
<a href="#M000319" class="method-signature">
|
357
357
|
<span class="method-name">parser.string = "xml"<br />
|
358
358
|
</span>
|
359
359
|
</a>
|
@@ -364,8 +364,8 @@ ruby_xml_sax_parser_str_get(VALUE self) {
|
|
364
364
|
Set the parser’s input string.
|
365
365
|
</p>
|
366
366
|
<p><a class="source-toggle" href="#"
|
367
|
-
onclick="toggleCode('
|
368
|
-
<div class="method-source-code" id="
|
367
|
+
onclick="toggleCode('M000319-source');return false;">[Source]</a></p>
|
368
|
+
<div class="method-source-code" id="M000319-source">
|
369
369
|
<pre>
|
370
370
|
/*
|
371
371
|
* call-seq:
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>Class: XML::
|
8
|
+
<title>Class: LibXML::XML::Schema</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
11
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
@@ -50,13 +50,13 @@
|
|
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::
|
53
|
+
<td class="class-name-in-header">LibXML::XML::Schema</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/
|
59
|
-
ext/libxml/
|
58
|
+
<a href="../../../files/ext/libxml/libxml_c.html">
|
59
|
+
ext/libxml/libxml.c
|
60
60
|
</a>
|
61
61
|
<br />
|
62
62
|
</td>
|
@@ -65,9 +65,7 @@
|
|
65
65
|
<tr class="top-aligned-row">
|
66
66
|
<td><strong>Parent:</strong></td>
|
67
67
|
<td>
|
68
|
-
<a href="Object.html">
|
69
68
|
Object
|
70
|
-
</a>
|
71
69
|
</td>
|
72
70
|
</tr>
|
73
71
|
</table>
|
@@ -88,8 +86,9 @@
|
|
88
86
|
<h3 class="section-bar">Methods</h3>
|
89
87
|
|
90
88
|
<div class="name-list">
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
89
|
+
<a href="#M000218">document</a>
|
90
|
+
<a href="#M000217">from_string</a>
|
91
|
+
<a href="#M000216">new</a>
|
93
92
|
</div>
|
94
93
|
</div>
|
95
94
|
|
@@ -109,69 +108,98 @@
|
|
109
108
|
|
110
109
|
<!-- if method_list -->
|
111
110
|
<div id="methods">
|
112
|
-
<h3 class="section-bar">Public
|
111
|
+
<h3 class="section-bar">Public Class methods</h3>
|
113
112
|
|
114
|
-
<div id="method-
|
115
|
-
<a name="
|
113
|
+
<div id="method-M000218" class="method-detail">
|
114
|
+
<a name="M000218"></a>
|
116
115
|
|
117
116
|
<div class="method-heading">
|
118
|
-
<a href="#
|
119
|
-
<span class="method-name">
|
117
|
+
<a href="#M000218" class="method-signature">
|
118
|
+
<span class="method-name">XML::Schema.document(document) → schema<br />
|
120
119
|
</span>
|
121
120
|
</a>
|
122
121
|
</div>
|
123
122
|
|
124
123
|
<div class="method-description">
|
125
124
|
<p>
|
126
|
-
|
127
|
-
this <a href="../XPath.html">XPath</a>.
|
125
|
+
Create a new schema from the specified URI.
|
128
126
|
</p>
|
129
127
|
<p><a class="source-toggle" href="#"
|
130
|
-
onclick="toggleCode('
|
131
|
-
<div class="method-source-code" id="
|
128
|
+
onclick="toggleCode('M000218-source');return false;">[Source]</a></p>
|
129
|
+
<div class="method-source-code" id="M000218-source">
|
132
130
|
<pre>
|
133
131
|
/*
|
134
132
|
* call-seq:
|
135
|
-
*
|
133
|
+
* XML::Schema.document(document) -> schema
|
136
134
|
*
|
137
|
-
*
|
135
|
+
* Create a new schema from the specified URI.
|
138
136
|
*/
|
139
137
|
VALUE
|
140
|
-
|
138
|
+
ruby_xml_schema_init_from_document(VALUE class, VALUE document) {
|
141
139
|
|
142
140
|
</pre>
|
143
141
|
</div>
|
144
142
|
</div>
|
145
143
|
</div>
|
146
144
|
|
147
|
-
<div id="method-
|
148
|
-
<a name="
|
145
|
+
<div id="method-M000217" class="method-detail">
|
146
|
+
<a name="M000217"></a>
|
149
147
|
|
150
148
|
<div class="method-heading">
|
151
|
-
<a href="#
|
152
|
-
<span class="method-name">
|
149
|
+
<a href="#M000217" class="method-signature">
|
150
|
+
<span class="method-name">XML::Schema.string("schema_data") → "value"<br />
|
153
151
|
</span>
|
154
152
|
</a>
|
155
153
|
</div>
|
156
154
|
|
157
155
|
<div class="method-description">
|
158
156
|
<p>
|
159
|
-
|
160
|
-
context.
|
157
|
+
Create a new schema using the specified string.
|
161
158
|
</p>
|
162
159
|
<p><a class="source-toggle" href="#"
|
163
|
-
onclick="toggleCode('
|
164
|
-
<div class="method-source-code" id="
|
160
|
+
onclick="toggleCode('M000217-source');return false;">[Source]</a></p>
|
161
|
+
<div class="method-source-code" id="M000217-source">
|
165
162
|
<pre>
|
166
163
|
/*
|
167
164
|
* call-seq:
|
168
|
-
*
|
165
|
+
* XML::Schema.string("schema_data") -> "value"
|
169
166
|
*
|
170
|
-
*
|
171
|
-
* in this context.
|
167
|
+
* Create a new schema using the specified string.
|
172
168
|
*/
|
173
169
|
VALUE
|
174
|
-
|
170
|
+
ruby_xml_schema_init_from_string(VALUE self, VALUE schema_str) {
|
171
|
+
|
172
|
+
</pre>
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
|
177
|
+
<div id="method-M000216" class="method-detail">
|
178
|
+
<a name="M000216"></a>
|
179
|
+
|
180
|
+
<div class="method-heading">
|
181
|
+
<a href="#M000216" class="method-signature">
|
182
|
+
<span class="method-name">XML::Schema.new(schema_uri) → schema<br />
|
183
|
+
</span>
|
184
|
+
</a>
|
185
|
+
</div>
|
186
|
+
|
187
|
+
<div class="method-description">
|
188
|
+
<p>
|
189
|
+
Create a new schema from the specified URI.
|
190
|
+
</p>
|
191
|
+
<p><a class="source-toggle" href="#"
|
192
|
+
onclick="toggleCode('M000216-source');return false;">[Source]</a></p>
|
193
|
+
<div class="method-source-code" id="M000216-source">
|
194
|
+
<pre>
|
195
|
+
/*
|
196
|
+
* call-seq:
|
197
|
+
* XML::Schema.new(schema_uri) -> schema
|
198
|
+
*
|
199
|
+
* Create a new schema from the specified URI.
|
200
|
+
*/
|
201
|
+
VALUE
|
202
|
+
ruby_xml_schema_init_from_uri(VALUE class, VALUE uri) {
|
175
203
|
|
176
204
|
</pre>
|
177
205
|
</div>
|
@@ -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::State</title>
|
8
|
+
<title>Class: LibXML::XML::State</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::State</td>
|
53
|
+
<td class="class-name-in-header">LibXML::XML::State</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 />
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>Class: XML::
|
8
|
+
<title>Class: LibXML::XML::Tree</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
11
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
@@ -50,13 +50,13 @@
|
|
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::
|
53
|
+
<td class="class-name-in-header">LibXML::XML::Tree</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/
|
59
|
-
|
58
|
+
<a href="../../../files/lib/libxml/tree_rb.html">
|
59
|
+
lib/libxml/tree.rb
|
60
60
|
</a>
|
61
61
|
<br />
|
62
62
|
</td>
|
@@ -65,7 +65,7 @@
|
|
65
65
|
<tr class="top-aligned-row">
|
66
66
|
<td><strong>Parent:</strong></td>
|
67
67
|
<td>
|
68
|
-
|
68
|
+
Object
|
69
69
|
</td>
|
70
70
|
</tr>
|
71
71
|
</table>
|