saxon-xslt 0.0.1-universal-java-1.6 → 0.0.2-universal-java-1.6
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/README.md +5 -7
- data/lib/saxon/xslt/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Wraps the Saxon 9 HE XSLT processor Java API so it's easy to use from your JRuby project
|
|
4
4
|
|
|
5
|
-
```ruby
|
|
6
|
-
require 'saxon-xslt'
|
|
7
|
-
transformer = Saxon::Xslt.new('/path/to/your.xsl')
|
|
8
|
-
output = transformer.transform('/path/to/your.xml')
|
|
9
|
-
```
|
|
10
|
-
|
|
11
5
|
This is a super-minimal first cut, it doesn't do many, many, things that it should and it is entirely untested. You probably shouldn't be using in production systems.
|
|
12
6
|
|
|
13
7
|
It only runs under JRuby.
|
|
@@ -32,7 +26,11 @@ Or install it yourself as:
|
|
|
32
26
|
|
|
33
27
|
## Usage
|
|
34
28
|
|
|
35
|
-
|
|
29
|
+
```ruby
|
|
30
|
+
require 'saxon-xslt'
|
|
31
|
+
transformer = Saxon::Xslt.new('/path/to/your.xsl')
|
|
32
|
+
output = transformer.transform('/path/to/your.xml')
|
|
33
|
+
```
|
|
36
34
|
|
|
37
35
|
## Contributing
|
|
38
36
|
|
data/lib/saxon/xslt/version.rb
CHANGED