ruby-xslt 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/xslt.h ADDED
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Copyright (C) 2005 Gregoire Lejeune <gregoire.lejeune@free.fr>
3
+ *
4
+ * This program is free software; you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation; either version 2 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program; if not, write to the Free Software
16
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
+ */
18
+
19
+ /* Please see the LICENSE file for copyright and distribution information */
20
+
21
+ #ifndef __RUBY_XSLT_H__
22
+ #define __RUBY_XSLT_H__
23
+
24
+ #include <ruby.h>
25
+ #include <rubyio.h>
26
+
27
+ #include <string.h>
28
+
29
+ #include <libxml/xmlmemory.h>
30
+ #include <libxml/debugXML.h>
31
+ #include <libxml/HTMLtree.h>
32
+ #include <libxml/xmlIO.h>
33
+ #include <libxml/xinclude.h>
34
+ #include <libxml/catalog.h>
35
+
36
+ #include <libxslt/extra.h>
37
+ #include <libxslt/xslt.h>
38
+ #include <libxslt/xsltInternals.h>
39
+ #include <libxslt/transform.h>
40
+ #include <libxslt/xsltutils.h>
41
+ #include <libxslt/imports.h>
42
+
43
+ #ifdef USE_EXSLT
44
+ #include <libexslt/exslt.h>
45
+ #endif
46
+
47
+ #ifdef MEMWATCH
48
+ #include "memwatch.h"
49
+ #endif
50
+
51
+ #include "rb_utils.h"
52
+ #include "parser.h"
53
+ #include "parameters.h"
54
+ #include "extfunc.h"
55
+
56
+ #define RUBY_XSLT_VERSION "0.9.2"
57
+ #define RUBY_XSLT_VERNUM 092
58
+
59
+ #define RUBY_XSLT_XSLSRC_TYPE_NULL 0
60
+ #define RUBY_XSLT_XSLSRC_TYPE_STR 1
61
+ #define RUBY_XSLT_XSLSRC_TYPE_FILE 2
62
+ #define RUBY_XSLT_XSLSRC_TYPE_REXML 4
63
+ #define RUBY_XSLT_XSLSRC_TYPE_SMART 8
64
+ #define RUBY_XSLT_XSLSRC_TYPE_PARSED 16
65
+
66
+ #define RUBY_XSLT_XMLSRC_TYPE_NULL 0
67
+ #define RUBY_XSLT_XMLSRC_TYPE_STR 1
68
+ #define RUBY_XSLT_XMLSRC_TYPE_FILE 2
69
+ #define RUBY_XSLT_XMLSRC_TYPE_REXML 4
70
+ #define RUBY_XSLT_XMLSRC_TYPE_SMART 8
71
+ #define RUBY_XSLT_XMLSRC_TYPE_PARSED 16
72
+
73
+ RUBY_EXTERN VALUE eXSLTError;
74
+ RUBY_EXTERN VALUE eXSLTParsingError;
75
+ RUBY_EXTERN VALUE eXSLTTransformationError;
76
+
77
+ typedef struct RbTxslt {
78
+ int iXmlType;
79
+ VALUE xXmlData;
80
+ VALUE oXmlObject;
81
+ VALUE xXmlString;
82
+ xmlDocPtr tXMLDocument;
83
+
84
+ int iXslType;
85
+ VALUE xXslData;
86
+ VALUE oXslObject;
87
+ VALUE xXslString;
88
+ xsltStylesheetPtr tParsedXslt;
89
+
90
+ int iXmlResultType;
91
+ VALUE xXmlResultCache;
92
+
93
+ VALUE pxParams;
94
+ int iNbParams;
95
+
96
+ } RbTxslt;
97
+
98
+ #endif
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.0
3
+ specification_version: 1
4
+ name: ruby-xslt
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.9.2
7
+ date: 2005-11-17 00:00:00 +01:00
8
+ summary: A Ruby class for processing XSLT
9
+ require_paths:
10
+ - lib
11
+ email: greg@webtime-project.net
12
+ homepage: http://raa.ruby-lang.org/project/ruby-xslt/
13
+ rubyforge_project:
14
+ description: Ruby/XSLT is a simple XSLT class based on libxml <http://xmlsoft.org/> and libxslt <http://xmlsoft.org/XSLT/>
15
+ autorequire:
16
+ default_executable:
17
+ bindir: bin
18
+ has_rdoc: true
19
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
20
+ requirements:
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
24
+ version:
25
+ platform: ruby
26
+ signing_key:
27
+ cert_chain:
28
+ post_install_message:
29
+ authors:
30
+ - Gregoire Lejeune
31
+ files:
32
+ - ./AUTHORS
33
+ - ./ChangeLog
34
+ - ./COPYING
35
+ - ./debug
36
+ - ./examples
37
+ - ./extconf.rb
38
+ - ./extfunc.c
39
+ - ./extfunc.h
40
+ - ./parameters.c
41
+ - ./parameters.h
42
+ - ./parser.c
43
+ - ./parser.h
44
+ - ./rb_utils.c
45
+ - ./rb_utils.h
46
+ - ./README
47
+ - ./tests
48
+ - ./xslt.c
49
+ - ./xslt.h
50
+ - ./ruby-xslt.gemspec
51
+ - debug/memwatch.c
52
+ - debug/memwatch.h
53
+ - examples/commentary.dtd
54
+ - examples/functions.xsl
55
+ - examples/fuzface.rb
56
+ - examples/fuzface.xml
57
+ - examples/fuzface.xsl
58
+ - examples/fuzface_data.rb
59
+ - examples/fuzface_error.rb
60
+ - examples/fuzface_REXML.rb
61
+ - examples/fuzface_to_s.rb
62
+ - examples/fuzface_XML-Simple.rb
63
+ - examples/info.rb
64
+ - examples/ramblings.xsl
65
+ - examples/test.xml
66
+ - examples/test.xsl
67
+ - examples/test_functions.rb
68
+ - examples/test_parameters.rb
69
+ - tests/imports
70
+ - tests/subdir
71
+ - tests/t.xml
72
+ - tests/t.xsl
73
+ - tests/test.rb
74
+ - README
75
+ - AUTHORS
76
+ - COPYING
77
+ - ChangeLog
78
+ test_files:
79
+ - tests/test.rb
80
+ rdoc_options:
81
+ - --title
82
+ - Ruby/XSLT
83
+ - --main
84
+ - README
85
+ - --line-numbers
86
+ extra_rdoc_files:
87
+ - README
88
+ - AUTHORS
89
+ - COPYING
90
+ - ChangeLog
91
+ executables: []
92
+
93
+ extensions:
94
+ - extconf.rb
95
+ requirements: []
96
+
97
+ dependencies: []
98
+