libxslt-ruby 0.3.6 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/LICENSE +21 -21
  2. data/README +152 -48
  3. data/ext/{xml → libxslt}/extconf.rb +29 -22
  4. data/ext/{xml → libxslt}/libxslt.c +22 -18
  5. data/ext/{xml → libxslt}/libxslt.h +8 -9
  6. data/ext/{xml → libxslt}/ruby_xslt_stylesheet.c +19 -19
  7. data/ext/{xml → libxslt}/ruby_xslt_stylesheet.h +1 -1
  8. data/ext/{xml → libxslt}/ruby_xslt_transform_context.c +2 -4
  9. data/ext/{xml → libxslt}/ruby_xslt_transform_context.h +1 -1
  10. data/ext/libxslt/version.h +5 -0
  11. data/lib/libxslt.rb +2 -0
  12. data/mingw/libxslt-1.dll +0 -0
  13. data/mingw/libxslt_ruby.so +0 -0
  14. data/mingw/mingw.rake +36 -0
  15. data/vc/libxslt_ruby.sln +26 -0
  16. data/vc/libxslt_ruby.vcproj +233 -0
  17. metadata +66 -87
  18. data/CHANGELOG +0 -14
  19. data/Rakefile +0 -245
  20. data/TODO +0 -32
  21. data/ext/xml/libxml-ruby/libxml.h +0 -92
  22. data/ext/xml/libxml-ruby/ruby_xml_attr.h +0 -31
  23. data/ext/xml/libxml-ruby/ruby_xml_attribute.h +0 -31
  24. data/ext/xml/libxml-ruby/ruby_xml_document.h +0 -37
  25. data/ext/xml/libxml-ruby/ruby_xml_dtd.h +0 -27
  26. data/ext/xml/libxml-ruby/ruby_xml_input_cbg.h +0 -31
  27. data/ext/xml/libxml-ruby/ruby_xml_node.h +0 -38
  28. data/ext/xml/libxml-ruby/ruby_xml_node_set.h +0 -36
  29. data/ext/xml/libxml-ruby/ruby_xml_ns.h +0 -31
  30. data/ext/xml/libxml-ruby/ruby_xml_parser.h +0 -41
  31. data/ext/xml/libxml-ruby/ruby_xml_parser_context.h +0 -32
  32. data/ext/xml/libxml-ruby/ruby_xml_sax_parser.h +0 -31
  33. data/ext/xml/libxml-ruby/ruby_xml_schema.h +0 -26
  34. data/ext/xml/libxml-ruby/ruby_xml_tree.h +0 -22
  35. data/ext/xml/libxml-ruby/ruby_xml_xinclude.h +0 -23
  36. data/ext/xml/libxml-ruby/ruby_xml_xpath.h +0 -34
  37. data/ext/xml/libxml-ruby/ruby_xml_xpath_context.h +0 -34
  38. data/ext/xml/libxml-ruby/ruby_xml_xpointer.h +0 -37
  39. data/ext/xml/libxml-ruby/ruby_xml_xpointer_context.h +0 -28
  40. data/tests/commentary.dtd +0 -34
  41. data/tests/fuzface.rb +0 -15
  42. data/tests/fuzface.xml +0 -154
  43. data/tests/fuzface.xsl +0 -4
  44. data/tests/ramblings.xsl +0 -46
  45. data/tests/tc_libxslt.rb +0 -65
  46. data/tests/tc_xslt_stylesheet.rb +0 -41
  47. data/tests/tc_xslt_stylesheet2.rb +0 -41
@@ -1,4 +1,4 @@
1
- /* $Id: libxslt.h,v 1.2 2006/03/09 23:13:28 roscopeco Exp $ */
1
+ /* $Id: libxslt.h 43 2007-12-07 12:38:59Z transami $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -16,22 +16,21 @@
16
16
  #include <libxslt/xsltutils.h>
17
17
  #include <libexslt/exslt.h>
18
18
 
19
- #include "libxml-ruby/libxml.h"
20
- #include "libxml-ruby/ruby_xml_document.h"
19
+ // Includes from libxml-ruby
20
+ #include <libxml/ruby_libxml.h>
21
+ #include <libxml/ruby_xml_document.h>
22
+
23
+
21
24
  #include "ruby_xslt_stylesheet.h"
22
25
  #include "ruby_xslt_transform_context.h"
23
26
 
24
- #define RUBY_LIBXSLT_VERSION "0.3.6"
25
- #define RUBY_LIBXSLT_VERNUM 036
26
- #define RUBY_LIBXSLT_VER_MAJ 0
27
- #define RUBY_LIBXSLT_VER_MIN 3
28
- #define RUBY_LIBXSLT_VER_MIC 6
27
+ #include "version.h"
29
28
 
30
29
  #define RUBY_LIBXSLT_SRC_TYPE_NULL 0
31
30
  #define RUBY_LIBXSLT_SRC_TYPE_FILE 1
32
31
 
33
32
  extern VALUE mXML;
34
- extern VALUE cXMLDocument;
33
+ //extern VALUE cXMLDocument;
35
34
 
36
35
  extern VALUE cXSLT;
37
36
  extern VALUE eXMLXSLTStylesheetRequireParsedDoc;
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xslt_stylesheet.c,v 1.2 2006/03/21 22:42:21 roscopeco Exp $ */
1
+ /* $Id: ruby_xslt_stylesheet.c 42 2007-12-07 06:09:35Z transami $ */
2
2
 
3
3
  /* See the LICENSE file for copyright and distribution information. */
4
4
 
@@ -16,7 +16,7 @@ VALUE cXSLTStylesheet;
16
16
  VALUE
17
17
  ruby_xslt_stylesheet_apply(int argc, VALUE *argv, VALUE self) {
18
18
  ruby_xslt_stylesheet *xss;
19
- ruby_xml_document *rxd;
19
+ ruby_xml_document_t *rxd;
20
20
  const char **params;
21
21
  VALUE parameter, tmp;
22
22
  int i, len;
@@ -26,7 +26,7 @@ ruby_xslt_stylesheet_apply(int argc, VALUE *argv, VALUE self) {
26
26
  if (NIL_P(xss->xml_doc_obj))
27
27
  rb_raise(rb_eArgError, "Need a document object");
28
28
 
29
- Data_Get_Struct(xss->xml_doc_obj, ruby_xml_document, rxd);
29
+ Data_Get_Struct(xss->xml_doc_obj, ruby_xml_document_t, rxd);
30
30
 
31
31
  params = NULL;
32
32
 
@@ -67,12 +67,11 @@ ruby_xslt_stylesheet_apply(int argc, VALUE *argv, VALUE self) {
67
67
  rb_raise(rb_eArgError, "wrong number of arguments (0 or 1)");
68
68
  }
69
69
 
70
- xss->parsed = ruby_xml_document_new(cXMLDocument,
71
- xsltApplyStylesheet(xss->xsp,
72
- rxd->doc, params));
70
+ xss->parsed = ruby_xml_document_wrap(xsltApplyStylesheet(xss->xsp,
71
+ rxd->doc, params));
73
72
 
74
73
  if (params) {
75
- free(params);
74
+ ruby_xfree(params);
76
75
  }
77
76
 
78
77
  if (xss->parsed == Qnil)
@@ -97,7 +96,7 @@ ruby_xslt_stylesheet_debug(int argc, VALUE *argv, VALUE self) {
97
96
  OpenFile *fptr;
98
97
  VALUE io;
99
98
  FILE *out;
100
- ruby_xml_document *parsed;
99
+ ruby_xml_document_t *parsed;
101
100
  ruby_xslt_stylesheet *xss;
102
101
 
103
102
  Data_Get_Struct(self, ruby_xslt_stylesheet, xss);
@@ -117,7 +116,7 @@ ruby_xslt_stylesheet_debug(int argc, VALUE *argv, VALUE self) {
117
116
  rb_raise(rb_eArgError, "wrong number of arguments (0 or 1)");
118
117
  }
119
118
 
120
- Data_Get_Struct(xss->parsed, ruby_xml_document, parsed);
119
+ Data_Get_Struct(xss->parsed, ruby_xml_document_t, parsed);
121
120
  if (parsed->doc == NULL)
122
121
  return(Qnil);
123
122
 
@@ -140,7 +139,7 @@ ruby_xslt_stylesheet_free(ruby_xslt_stylesheet *xss) {
140
139
  xss->xsp = NULL;
141
140
  }
142
141
 
143
- free(xss);
142
+ ruby_xfree(xss);
144
143
  }
145
144
 
146
145
 
@@ -161,16 +160,17 @@ ruby_xslt_stylesheet_mark(ruby_xslt_stylesheet *xss) {
161
160
  VALUE
162
161
  ruby_xslt_stylesheet_new(VALUE class, xsltStylesheetPtr xsp) {
163
162
  ruby_xslt_stylesheet *xss;
163
+ VALUE rval;
164
164
 
165
- xss = ALLOC(ruby_xslt_stylesheet);
165
+ rval=Data_Make_Struct(cXSLTStylesheet,ruby_xslt_stylesheet,ruby_xslt_stylesheet_mark,
166
+ ruby_xslt_stylesheet_free,xss);
166
167
  xss->xsp = xsp;
167
168
  xss->xml_doc_obj = Qnil;
168
169
  xss->parsed = Qnil;
169
170
  xss->data_type = RUBY_LIBXSLT_SRC_TYPE_NULL;
170
171
  xss->data = NULL;
171
172
 
172
- return(Data_Wrap_Struct(cXSLTStylesheet, ruby_xslt_stylesheet_mark,
173
- ruby_xslt_stylesheet_free, xss));
173
+ return rval;
174
174
  }
175
175
 
176
176
  // TODO should this automatically apply the sheet if not already,
@@ -188,7 +188,7 @@ ruby_xslt_stylesheet_print(int argc, VALUE *argv, VALUE self) {
188
188
  OpenFile *fptr;
189
189
  VALUE io;
190
190
  FILE *out;
191
- ruby_xml_document *parsed;
191
+ ruby_xml_document_t *parsed;
192
192
  ruby_xslt_stylesheet *xss;
193
193
  int bytes;
194
194
 
@@ -209,7 +209,7 @@ ruby_xslt_stylesheet_print(int argc, VALUE *argv, VALUE self) {
209
209
  rb_raise(rb_eArgError, "wrong number of arguments (0 or 1)");
210
210
  }
211
211
 
212
- Data_Get_Struct(xss->parsed, ruby_xml_document, parsed);
212
+ Data_Get_Struct(xss->parsed, ruby_xml_document_t, parsed);
213
213
  if (parsed->doc == NULL)
214
214
  return(Qnil);
215
215
 
@@ -232,7 +232,7 @@ ruby_xslt_stylesheet_print(int argc, VALUE *argv, VALUE self) {
232
232
  */
233
233
  VALUE
234
234
  ruby_xslt_stylesheet_to_s(VALUE self) {
235
- ruby_xml_document *parsed;
235
+ ruby_xml_document_t *parsed;
236
236
  ruby_xslt_stylesheet *xss;
237
237
  xmlChar *str;
238
238
  int len;
@@ -240,7 +240,7 @@ ruby_xslt_stylesheet_to_s(VALUE self) {
240
240
  Data_Get_Struct(self, ruby_xslt_stylesheet, xss);
241
241
  if (NIL_P(xss->parsed))
242
242
  rb_raise(eXMLXSLTStylesheetRequireParsedDoc, "must have a parsed XML result");
243
- Data_Get_Struct(xss->parsed, ruby_xml_document, parsed);
243
+ Data_Get_Struct(xss->parsed, ruby_xml_document_t, parsed);
244
244
  if (parsed->doc == NULL)
245
245
  return(Qnil);
246
246
 
@@ -262,7 +262,7 @@ ruby_xslt_stylesheet_to_s(VALUE self) {
262
262
  */
263
263
  VALUE
264
264
  ruby_xslt_stylesheet_save(VALUE self, VALUE io) {
265
- ruby_xml_document *parsed;
265
+ ruby_xml_document_t *parsed;
266
266
  ruby_xslt_stylesheet *xss;
267
267
  OpenFile *fptr;
268
268
 
@@ -272,7 +272,7 @@ ruby_xslt_stylesheet_save(VALUE self, VALUE io) {
272
272
  GetOpenFile(io, fptr);
273
273
 
274
274
  Data_Get_Struct(self, ruby_xslt_stylesheet, xss);
275
- Data_Get_Struct(xss->parsed, ruby_xml_document, parsed);
275
+ Data_Get_Struct(xss->parsed, ruby_xml_document_t, parsed);
276
276
 
277
277
  xsltSaveResultToFile(fptr->f, parsed->doc, xss->xsp);
278
278
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xslt_stylesheet.h,v 1.1.1.1 2006/03/09 01:36:19 roscopeco Exp $ */
1
+ /* $Id: ruby_xslt_stylesheet.h 42 2007-12-07 06:09:35Z transami $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information. */
4
4
 
@@ -1,10 +1,9 @@
1
- /* $Id: ruby_xslt_transform_context.c,v 1.1.1.1 2006/03/09 01:36:19 roscopeco Exp $ */
1
+ /* $Id: ruby_xslt_transform_context.c 42 2007-12-07 06:09:35Z transami $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
5
5
  #include "libxslt.h"
6
6
  #include "ruby_xslt_transform_context.h"
7
- #include "libxml-ruby/libxml.h"
8
7
 
9
8
  VALUE cXSLTTransformContext;
10
9
 
@@ -14,7 +13,7 @@ ruby_xslt_transform_context_free(ruby_xslt_transform_context *rxtc) {
14
13
  xsltFreeTransformContext(rxtc->ctxt);
15
14
  rxtc->ctxt = NULL;
16
15
  }
17
- free(rxtc);
16
+ ruby_xfree(rxtc);
18
17
  }
19
18
 
20
19
  void
@@ -29,7 +28,6 @@ ruby_xslt_transform_context_new(VALUE class, VALUE xslt,
29
28
  xsltTransformContextPtr ctxt) {
30
29
  ruby_xslt_transform_context *rxtc;
31
30
  rxtc = ALLOC(ruby_xslt_transform_context);
32
- ruby_xml_parser_count++;
33
31
  rxtc->ctxt = ctxt;
34
32
  rxtc->xslt = xslt;
35
33
  //fprintf(stderr,"ruby_xslt_transform_context_new 2\n");
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xslt_transform_context.h,v 1.1.1.1 2006/03/09 01:36:20 roscopeco Exp $ */
1
+ /* $Id: ruby_xslt_transform_context.h 42 2007-12-07 06:09:35Z transami $ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -0,0 +1,5 @@
1
+ #define RUBY_LIBXSLT_VERSION "0.6.0"
2
+ #define RUBY_LIBXSLT_VERNUM 0
3
+ #define RUBY_LIBXSLT_VER_MAJ 0
4
+ #define RUBY_LIBXSLT_VER_MIN 6
5
+ #define RUBY_LIBXSLT_VER_MIC 0
data/lib/libxslt.rb ADDED
@@ -0,0 +1,2 @@
1
+ require 'libxml'
2
+ require 'libxslt_ruby.so'
Binary file
Binary file
data/mingw/mingw.rake ADDED
@@ -0,0 +1,36 @@
1
+ # We can't use Ruby's standard build procedures
2
+ # on Windows because the Ruby executable is
3
+ # built with VC++ while here we want to build
4
+ # with MingW. So just roll our own...
5
+
6
+ require 'rake/clean'
7
+ require 'rbconfig'
8
+
9
+ RUBY_INCLUDE_DIR = Config::CONFIG["archdir"]
10
+ RUBY_BIN_DIR = Config::CONFIG["bindir"]
11
+ RUBY_LIB_DIR = Config::CONFIG["libdir"]
12
+ RUBY_SHARED_LIB = Config::CONFIG["LIBRUBY"]
13
+ RUBY_SHARED_DLL = RUBY_SHARED_LIB.gsub(/lib$/, 'dll')
14
+
15
+ CLEAN.include('*.o')
16
+ CLOBBER.include('libxslt.so')
17
+
18
+ task :default => "libxslt"
19
+
20
+ SRC = FileList['../ext/libxslt/*.c']
21
+ OBJ = SRC.collect do |file_name|
22
+ File.basename(file_name).ext('o')
23
+ end
24
+
25
+ SRC.each do |srcfile|
26
+ objfile = File.basename(srcfile).ext('o')
27
+ file objfile => srcfile do
28
+ command = "gcc -c -fPIC -O2 -Wall -o #{objfile} -I/usr/local/include -I../../rlibxml/ext #{srcfile} -I#{RUBY_INCLUDE_DIR}"
29
+ sh "sh -c '#{command}'"
30
+ end
31
+ end
32
+
33
+ file "libxslt" => OBJ do
34
+ command = "libtool --mode=link gcc -shared -o libxslt_ruby.so -L/usr/local/lib -lxml2 -lxslt ../../rlibxml/mingw/libxml_ruby.so #{OBJ} #{RUBY_BIN_DIR}/#{RUBY_SHARED_DLL}"
35
+ sh "sh -c '#{command}'"
36
+ end
@@ -0,0 +1,26 @@
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 9.00
3
+ # Visual Studio 2005
4
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libxslt_ruby", "libxslt_ruby.vcproj", "{6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}"
5
+ EndProject
6
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libxml_ruby", "..\..\rlibxml\vc\libxml_ruby.vcproj", "{0B65CD1D-EEB9-41AE-93BB-75496E504152}"
7
+ EndProject
8
+ Global
9
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
+ Debug|Win32 = Debug|Win32
11
+ Release|Win32 = Release|Win32
12
+ EndGlobalSection
13
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
14
+ {6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}.Debug|Win32.ActiveCfg = Debug|Win32
15
+ {6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}.Debug|Win32.Build.0 = Debug|Win32
16
+ {6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}.Release|Win32.ActiveCfg = Release|Win32
17
+ {6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}.Release|Win32.Build.0 = Release|Win32
18
+ {0B65CD1D-EEB9-41AE-93BB-75496E504152}.Debug|Win32.ActiveCfg = Debug|Win32
19
+ {0B65CD1D-EEB9-41AE-93BB-75496E504152}.Debug|Win32.Build.0 = Debug|Win32
20
+ {0B65CD1D-EEB9-41AE-93BB-75496E504152}.Release|Win32.ActiveCfg = Release|Win32
21
+ {0B65CD1D-EEB9-41AE-93BB-75496E504152}.Release|Win32.Build.0 = Release|Win32
22
+ EndGlobalSection
23
+ GlobalSection(SolutionProperties) = preSolution
24
+ HideSolutionNode = FALSE
25
+ EndGlobalSection
26
+ EndGlobal
@@ -0,0 +1,233 @@
1
+ <?xml version="1.0" encoding="Windows-1252"?>
2
+ <VisualStudioProject
3
+ ProjectType="Visual C++"
4
+ Version="8.00"
5
+ Name="libxslt_ruby"
6
+ ProjectGUID="{6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}"
7
+ RootNamespace="libxsl"
8
+ Keyword="Win32Proj"
9
+ >
10
+ <Platforms>
11
+ <Platform
12
+ Name="Win32"
13
+ />
14
+ </Platforms>
15
+ <ToolFiles>
16
+ </ToolFiles>
17
+ <Configurations>
18
+ <Configuration
19
+ Name="Debug|Win32"
20
+ OutputDirectory="C:\Development\ruby\lib\ruby\gems\1.8\gems\libxsl-ruby-0.6.1-x86-mswin32-60\lib"
21
+ IntermediateDirectory="$(ConfigurationName)"
22
+ ConfigurationType="2"
23
+ CharacterSet="1"
24
+ >
25
+ <Tool
26
+ Name="VCPreBuildEventTool"
27
+ />
28
+ <Tool
29
+ Name="VCCustomBuildTool"
30
+ />
31
+ <Tool
32
+ Name="VCXMLDataGeneratorTool"
33
+ />
34
+ <Tool
35
+ Name="VCWebServiceProxyGeneratorTool"
36
+ />
37
+ <Tool
38
+ Name="VCMIDLTool"
39
+ />
40
+ <Tool
41
+ Name="VCCLCompilerTool"
42
+ Optimization="0"
43
+ AdditionalIncludeDirectories="&quot;C:\Development\msys\src\libiconv-1.12\include&quot;;&quot;C:\Development\ruby\lib\ruby\1.8\i386-mswin32&quot;;&quot;C:\Development\msys\src\libxml2-2.6.32\include&quot;;&quot;C:\Development\msys\src\libxslt-1.1.24&quot;;C:\Development\msys\src\rlibxml\ext"
44
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;libxsl_EXPORTS"
45
+ MinimalRebuild="true"
46
+ BasicRuntimeChecks="3"
47
+ RuntimeLibrary="3"
48
+ UsePrecompiledHeader="0"
49
+ WarningLevel="3"
50
+ Detect64BitPortabilityProblems="true"
51
+ DebugInformationFormat="4"
52
+ />
53
+ <Tool
54
+ Name="VCManagedResourceCompilerTool"
55
+ />
56
+ <Tool
57
+ Name="VCResourceCompilerTool"
58
+ />
59
+ <Tool
60
+ Name="VCPreLinkEventTool"
61
+ />
62
+ <Tool
63
+ Name="VCLinkerTool"
64
+ AdditionalDependencies="msvcrt-ruby18.lib libxml2.lib libxslt.lib libexslt.lib"
65
+ OutputFile="C:\Development\ruby\lib\ruby\gems\1.8\gems\libxslt-ruby-0.6.0-x86-mswin32-60\lib\$(ProjectName).so"
66
+ LinkIncremental="2"
67
+ AdditionalLibraryDirectories="C:\Development\ruby\lib;&quot;C:\Development\msys\src\libxslt-1.1.24\win32\bin.msvc&quot;;&quot;C:\Development\msys\src\libxml2-2.6.32\win32\bin.msvc&quot;"
68
+ GenerateDebugInformation="true"
69
+ SubSystem="2"
70
+ TargetMachine="1"
71
+ />
72
+ <Tool
73
+ Name="VCALinkTool"
74
+ />
75
+ <Tool
76
+ Name="VCManifestTool"
77
+ />
78
+ <Tool
79
+ Name="VCXDCMakeTool"
80
+ />
81
+ <Tool
82
+ Name="VCBscMakeTool"
83
+ />
84
+ <Tool
85
+ Name="VCFxCopTool"
86
+ />
87
+ <Tool
88
+ Name="VCAppVerifierTool"
89
+ />
90
+ <Tool
91
+ Name="VCWebDeploymentTool"
92
+ />
93
+ <Tool
94
+ Name="VCPostBuildEventTool"
95
+ />
96
+ </Configuration>
97
+ <Configuration
98
+ Name="Release|Win32"
99
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
100
+ IntermediateDirectory="$(ConfigurationName)"
101
+ ConfigurationType="2"
102
+ CharacterSet="1"
103
+ WholeProgramOptimization="1"
104
+ >
105
+ <Tool
106
+ Name="VCPreBuildEventTool"
107
+ />
108
+ <Tool
109
+ Name="VCCustomBuildTool"
110
+ />
111
+ <Tool
112
+ Name="VCXMLDataGeneratorTool"
113
+ />
114
+ <Tool
115
+ Name="VCWebServiceProxyGeneratorTool"
116
+ />
117
+ <Tool
118
+ Name="VCMIDLTool"
119
+ />
120
+ <Tool
121
+ Name="VCCLCompilerTool"
122
+ AdditionalIncludeDirectories="&quot;C:\Development\msys\src\libiconv-1.12\include&quot;;&quot;C:\Development\ruby\lib\ruby\1.8\i386-mswin32&quot;;&quot;C:\Development\msys\src\libxml2-2.6.32\include&quot;;&quot;C:\Development\msys\src\libxslt-1.1.24&quot;;C:\Development\msys\src\rlibxml\ext"
123
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBXML_EXPORTS"
124
+ RuntimeLibrary="2"
125
+ UsePrecompiledHeader="0"
126
+ WarningLevel="3"
127
+ Detect64BitPortabilityProblems="true"
128
+ DebugInformationFormat="3"
129
+ />
130
+ <Tool
131
+ Name="VCManagedResourceCompilerTool"
132
+ />
133
+ <Tool
134
+ Name="VCResourceCompilerTool"
135
+ />
136
+ <Tool
137
+ Name="VCPreLinkEventTool"
138
+ />
139
+ <Tool
140
+ Name="VCLinkerTool"
141
+ AdditionalDependencies="msvcrt-ruby18.lib libxml2.lib libxslt.lib libexslt.lib"
142
+ OutputFile="$(OutDir)\$(ProjectName).so"
143
+ LinkIncremental="1"
144
+ AdditionalLibraryDirectories="C:\Development\ruby\lib;&quot;C:\Development\msys\src\libxslt-1.1.24\win32\bin.msvc&quot;"
145
+ GenerateDebugInformation="true"
146
+ SubSystem="2"
147
+ OptimizeReferences="2"
148
+ EnableCOMDATFolding="2"
149
+ TargetMachine="1"
150
+ />
151
+ <Tool
152
+ Name="VCALinkTool"
153
+ />
154
+ <Tool
155
+ Name="VCManifestTool"
156
+ />
157
+ <Tool
158
+ Name="VCXDCMakeTool"
159
+ />
160
+ <Tool
161
+ Name="VCBscMakeTool"
162
+ />
163
+ <Tool
164
+ Name="VCFxCopTool"
165
+ />
166
+ <Tool
167
+ Name="VCAppVerifierTool"
168
+ />
169
+ <Tool
170
+ Name="VCWebDeploymentTool"
171
+ />
172
+ <Tool
173
+ Name="VCPostBuildEventTool"
174
+ />
175
+ </Configuration>
176
+ </Configurations>
177
+ <References>
178
+ <ProjectReference
179
+ ReferencedProjectIdentifier="{0B65CD1D-EEB9-41AE-93BB-75496E504152}"
180
+ RelativePathToProject="..\..\rlibxml\vc\libxml.vcproj"
181
+ />
182
+ </References>
183
+ <Files>
184
+ <Filter
185
+ Name="Source Files"
186
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
187
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
188
+ >
189
+ <File
190
+ RelativePath="..\ext\libxslt\libxslt.c"
191
+ >
192
+ </File>
193
+ <File
194
+ RelativePath="..\ext\libxslt\ruby_xslt_stylesheet.c"
195
+ >
196
+ </File>
197
+ <File
198
+ RelativePath="..\ext\libxslt\ruby_xslt_transform_context.c"
199
+ >
200
+ </File>
201
+ </Filter>
202
+ <Filter
203
+ Name="Header Files"
204
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
205
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
206
+ >
207
+ <File
208
+ RelativePath="..\ext\libxslt\libxslt.h"
209
+ >
210
+ </File>
211
+ <File
212
+ RelativePath="..\ext\libxslt\ruby_xslt_stylesheet.h"
213
+ >
214
+ </File>
215
+ <File
216
+ RelativePath="..\ext\libxslt\ruby_xslt_transform_context.h"
217
+ >
218
+ </File>
219
+ <File
220
+ RelativePath="..\ext\libxslt\version.h"
221
+ >
222
+ </File>
223
+ </Filter>
224
+ <Filter
225
+ Name="Resource Files"
226
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
227
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
228
+ >
229
+ </Filter>
230
+ </Files>
231
+ <Globals>
232
+ </Globals>
233
+ </VisualStudioProject>