libxslt-ruby 0.8.2-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.
- data/Rakefile +16 -37
- data/ext/libxslt/libxslt.c +3 -0
- data/ext/libxslt/libxslt.h +1 -1
- data/ext/libxslt/ruby_xslt_stylesheet.c +6 -6
- data/ext/libxslt/version.h +3 -3
- data/ext/mingw/Rakefile +18 -32
- data/ext/mingw/libexslt-0.dll +0 -0
- data/ext/mingw/libxslt-1.dll +0 -0
- data/ext/mingw/libxslt_ruby.so +0 -0
- data/ext/vc/libxslt_ruby.vcproj +2 -2
- data/test/files/commentary.dtd +34 -0
- data/{lib/text.xml → test/files/fuzface.xml} +154 -129
- data/test/files/fuzface.xsl +4 -0
- data/test/files/params.xml +2 -0
- data/test/files/params.xsl +11 -0
- data/test/files/ramblings.xsl +46 -0
- data/test/test_deprecated.rb +97 -0
- data/test/test_libxslt.rb +21 -0
- data/test/test_stylesheet.rb +108 -0
- data/test/test_suite.rb +3 -0
- metadata +19 -37
- data/doc/classes/LibXSLT.html +0 -126
- data/doc/classes/LibXSLT/XSLT.html +0 -196
- data/doc/classes/LibXSLT/XSLT/Stylesheet.html +0 -250
- data/doc/classes/LibXSLT/XSLT/TransformContext.html +0 -117
- data/doc/classes/LibXSLT/XSLTError.html +0 -131
- data/doc/classes/XSLT.html +0 -125
- data/doc/created.rid +0 -1
- data/doc/files/CHANGES.html +0 -204
- data/doc/files/LICENSE.html +0 -133
- data/doc/files/README.html +0 -302
- data/doc/files/ext/libxslt/libxslt_c.html +0 -101
- data/doc/files/ext/libxslt/ruby_xslt_stylesheet_c.html +0 -101
- data/doc/files/ext/libxslt/ruby_xslt_transform_context_c.html +0 -101
- data/doc/files/lib/libxslt/deprecated_rb.html +0 -101
- data/doc/files/lib/libxslt_rb.html +0 -116
- data/doc/files/lib/xslt_rb.html +0 -135
- data/doc/fr_class_index.html +0 -32
- data/doc/fr_file_index.html +0 -35
- data/doc/fr_method_index.html +0 -28
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
- data/lib/libxslt-1.dll +0 -0
- data/lib/libxslt_ruby.so +0 -0
@@ -1,131 +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: LibXSLT::XSLTError</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">LibXSLT::XSLTError</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/ext/libxslt/libxslt_c.html">
|
59
|
-
ext/libxslt/libxslt.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
|
-
RuntimeError
|
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
|
-
Document-class: <a href="XSLT.html">LibXSLT::XSLT</a>
|
84
|
-
</p>
|
85
|
-
<p>
|
86
|
-
The libxslt gem provides Ruby language bindings for GNOME‘s Libxslt
|
87
|
-
toolkit. It is free software, released under the MIT License.
|
88
|
-
</p>
|
89
|
-
<p>
|
90
|
-
Using the bindings is straightforward:
|
91
|
-
</p>
|
92
|
-
<pre>
|
93
|
-
stylesheet_doc = XML::Document.file('stylesheet_file')
|
94
|
-
stylesheet = XSLT::Stylesheet.new(stylesheet_doc)
|
95
|
-
|
96
|
-
xml_doc = XML::Document.file('xml_file')
|
97
|
-
result = stylesheet.apply(xml_doc)
|
98
|
-
</pre>
|
99
|
-
|
100
|
-
</div>
|
101
|
-
|
102
|
-
|
103
|
-
</div>
|
104
|
-
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
|
109
|
-
<!-- if includes -->
|
110
|
-
|
111
|
-
<div id="section">
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
<!-- if method_list -->
|
121
|
-
|
122
|
-
|
123
|
-
</div>
|
124
|
-
|
125
|
-
|
126
|
-
<div id="validator-badges">
|
127
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
128
|
-
</div>
|
129
|
-
|
130
|
-
</body>
|
131
|
-
</html>
|
data/doc/classes/XSLT.html
DELETED
@@ -1,125 +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>Module: XSLT</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">XSLT</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/ext/libxslt/libxslt_c.html">
|
59
|
-
ext/libxslt/libxslt.c
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
</table>
|
66
|
-
</div>
|
67
|
-
<!-- banner header -->
|
68
|
-
|
69
|
-
<div id="bodyContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<div id="contextContent">
|
74
|
-
|
75
|
-
<div id="description">
|
76
|
-
<p>
|
77
|
-
Document-class: <a href="LibXSLT/XSLT.html">LibXSLT::XSLT</a>
|
78
|
-
</p>
|
79
|
-
<p>
|
80
|
-
The libxslt gem provides Ruby language bindings for GNOME‘s Libxslt
|
81
|
-
toolkit. It is free software, released under the MIT License.
|
82
|
-
</p>
|
83
|
-
<p>
|
84
|
-
Using the bindings is straightforward:
|
85
|
-
</p>
|
86
|
-
<pre>
|
87
|
-
stylesheet_doc = XML::Document.file('stylesheet_file')
|
88
|
-
stylesheet = XSLT::Stylesheet.new(stylesheet_doc)
|
89
|
-
|
90
|
-
xml_doc = XML::Document.file('xml_file')
|
91
|
-
result = stylesheet.apply(xml_doc)
|
92
|
-
</pre>
|
93
|
-
|
94
|
-
</div>
|
95
|
-
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
|
100
|
-
</div>
|
101
|
-
|
102
|
-
|
103
|
-
<!-- if includes -->
|
104
|
-
|
105
|
-
<div id="section">
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<!-- if method_list -->
|
115
|
-
|
116
|
-
|
117
|
-
</div>
|
118
|
-
|
119
|
-
|
120
|
-
<div id="validator-badges">
|
121
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
122
|
-
</div>
|
123
|
-
|
124
|
-
</body>
|
125
|
-
</html>
|
data/doc/created.rid
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Mon, 21 Jul 2008 22:26:50 -0600
|
data/doc/files/CHANGES.html
DELETED
@@ -1,204 +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>File: CHANGES</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="fileHeader">
|
50
|
-
<h1>CHANGES</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>CHANGES
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Mon Jul 21 22:26:27 -0600 2008</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<h2>0.8.2 / 2008-07-21 Charlie Savage</h2>
|
73
|
-
<ul>
|
74
|
-
<li>To use <a href="../classes/LibXSLT.html">LibXSLT</a> you can either require
|
75
|
-
‘xslt’ or require ‘libxslt’. The differences is
|
76
|
-
that require ‘xslt’ mixes the LibXML and LIBXSLT modules into
|
77
|
-
the global namespace, thereby allowing you to write code such as:
|
78
|
-
|
79
|
-
<pre>
|
80
|
-
stylesheet = XSLT::Stylesheet.new(XML::Document.new). Note that
|
81
|
-
</pre>
|
82
|
-
<p>
|
83
|
-
this is different from 0.8.0 release and may require updating your code.
|
84
|
-
</p>
|
85
|
-
</li>
|
86
|
-
<li>Support for libxml-ruby 0.8.2
|
87
|
-
|
88
|
-
</li>
|
89
|
-
<li>Improved Windows support - libxslt-ruby should now work out of the box.
|
90
|
-
|
91
|
-
</li>
|
92
|
-
</ul>
|
93
|
-
<h2>0.8.0 / 2008-07-10 Charlie Savage</h2>
|
94
|
-
<ul>
|
95
|
-
<li>Fix memory errors when reusing a stylehseet
|
96
|
-
|
97
|
-
</li>
|
98
|
-
<li>Added support for setting xsl::param values
|
99
|
-
|
100
|
-
</li>
|
101
|
-
<li>Updated RDocs.
|
102
|
-
|
103
|
-
</li>
|
104
|
-
<li>Moved to <a href="../classes/LibXSLT.html">LibXSLT</a> namespace
|
105
|
-
|
106
|
-
</li>
|
107
|
-
</ul>
|
108
|
-
<h2>0.7.0 / 2008-07-10 Charlie Savage</h2>
|
109
|
-
<ul>
|
110
|
-
<li>Ability to reuse the same stylesheet multiple times
|
111
|
-
|
112
|
-
</li>
|
113
|
-
<li>Simpler api
|
114
|
-
|
115
|
-
</li>
|
116
|
-
<li>Compatibility layer for pre-0.7.0 versions
|
117
|
-
|
118
|
-
</li>
|
119
|
-
<li>Major rewrite, resulting in significantly less code
|
120
|
-
|
121
|
-
</li>
|
122
|
-
<li>Updated RDocs.
|
123
|
-
|
124
|
-
</li>
|
125
|
-
</ul>
|
126
|
-
<h2>0.6.0 / 2008-07-01 Charlie Savage</h2>
|
127
|
-
<ul>
|
128
|
-
<li>Now packaged as a separate gem
|
129
|
-
|
130
|
-
</li>
|
131
|
-
<li>Windows support (both lots of memory fixes and binaries)
|
132
|
-
|
133
|
-
</li>
|
134
|
-
<li>New libxslt.rb ruby wrapper, so programs can simply say require
|
135
|
-
‘xslt‘
|
136
|
-
|
137
|
-
</li>
|
138
|
-
</ul>
|
139
|
-
<h2>0.5.0 / 2006-02-27 Ross Bamford <rosco at roscopeco.co.uk></h2>
|
140
|
-
<ul>
|
141
|
-
<li>Source layout for Rubygem release
|
142
|
-
|
143
|
-
</li>
|
144
|
-
<li>Fixed unit tests (set_up to setup, directory handling)
|
145
|
-
|
146
|
-
</li>
|
147
|
-
<li>Updated extconf to remove shell-script dependency
|
148
|
-
|
149
|
-
</li>
|
150
|
-
<li>Fixed multiple symbol declarations for -fno-common
|
151
|
-
|
152
|
-
</li>
|
153
|
-
</ul>
|
154
|
-
<h2>0.4.0 / 2003-12-15 Martin Povolny <martin@solnet.cz></h2>
|
155
|
-
<ul>
|
156
|
-
<li>libxslt.c: added call to exsltRegisterAll to enable exslt extensions
|
157
|
-
|
158
|
-
</li>
|
159
|
-
<li>extconf.rb: added -lexslt
|
160
|
-
|
161
|
-
</li>
|
162
|
-
</ul>
|
163
|
-
<h2>0.3.0 / 2004-02-01 Martin Povolny <martin@solnet.cz></h2>
|
164
|
-
<ul>
|
165
|
-
<li>libxslt.c: added call to ruby_init_xslt_transform_context() to make it
|
166
|
-
|
167
|
-
<pre>
|
168
|
-
work on ruby1.8
|
169
|
-
</pre>
|
170
|
-
</li>
|
171
|
-
</ul>
|
172
|
-
|
173
|
-
</div>
|
174
|
-
|
175
|
-
|
176
|
-
</div>
|
177
|
-
|
178
|
-
|
179
|
-
</div>
|
180
|
-
|
181
|
-
|
182
|
-
<!-- if includes -->
|
183
|
-
|
184
|
-
<div id="section">
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
<!-- if method_list -->
|
194
|
-
|
195
|
-
|
196
|
-
</div>
|
197
|
-
|
198
|
-
|
199
|
-
<div id="validator-badges">
|
200
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
201
|
-
</div>
|
202
|
-
|
203
|
-
</body>
|
204
|
-
</html>
|