summaryrefslogtreecommitdiffstats
path: root/development/xalan-j/README.SLACKWARE
blob: 897a2b9917591f2692d725f697c78fc7fab4687f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Slackware package for Xalan-J java XSLT 1.0 processor.

Package Build Options
=====================

This package is built using the '2jars' version of the Xalan-J
distribution from apache.org. For explanation see:
  http://xml.apache.org/xalan-j/downloads.html
This distribution comes with complete API documentation and an
extensive set of samples.

By default, the build script does not include API documentation or 
samples with the package.  However, you may enable either or both
of those by passing some value other than "no" to APIDOCS and/or
SAMPLES as appropriate.  As an example, the following would cause
both the api docs and the samples to be included in the package:
  SAMPLES=yes APIDOCS=blah ./xalanj.SlackBuild

Setting CLASSPATH
=================

Profile scripts are included with the package, and they should handle
all needed CLASSPATH setting for you.

For more information see:
  http://xml.apache.org/xalan-j/getstarted.html

XSLT Transforms
===============

For full documentation on use see:
  http://xml.apache.org/xalan-j/commandline.html

Xalan-j is a java application and must be invoked using the java syntax:
  java org.apache.xalan.xslt.Process -IN foo.xml -XSL foo.xsl -OUT foo.out

For convenience we have included a shell script /usr/bin/xalanj which
invokes the Xalan-j processor using the same arguments, for example:
  xalanj -IN foo.xml -XSL foo.xsl -OUT foo.out


                      Common Options

-XSLTC (use XSLTC for transformation)
-IN inputXMLURL
-XSL XSLTransformationURL
-OUT outputFileName
-V (Version info)
-EDUMP [optional filename] (Do stackdump on error.)
-XML (Use XML formatter and add XML header.)
-TEXT (Use simple Text formatter.)
-HTML (Use HTML formatter.)
-PARAM name expression (Set a stylesheet parameter)
-MEDIA mediaType (use media attribute to find stylesheet associated with a document)
-FLAVOR flavorName (Explicitly use s2s=SAX or d2d=DOM to do transform)
-DIAG (Print overall milliseconds transform took)
-URIRESOLVER full class name (URIResolver to be used to resolve URIs)
-ENTITYRESOLVER full class name (EntityResolver to be used to resolve entities)
-CONTENTHANDLER full class name (ContentHandler to be used to serialize output)
-SECURE (set the secure processing feature to true)


                      Options for Xalan-Java Interpretive

-QC (Quiet Pattern Conflicts Warnings)
-TT (Trace the templates as they are being called)
-TG (Trace each generation event)
-TS (Trace each selection event)
-TTC (Trace the template children as they are being processed)
-TCLASS (TraceListener class for trace extensions)
-L (use line numbers for source document)
-INCREMENTAL (request incremental DTM construction by setting 
    http://xml.apache.org/xalan/features/incremental to true)
-NOOPTIMIMIZE (request no stylesheet optimization proccessing by setting 
    http://xml.apache.org/xalan/features/optimize to false)
-RL recursionlimit (assert numeric limit on stylesheet recursion depth)

                      Options for Xalan-Java Compiled (XSLTC)

-XO [optional transletName] (assign the name to the generated translet)
-XD destinationDirectory (specify a destination directory for translet)
-XJ jarfile (package translet classes into a jar file of name <jarfile>)
-XP package (specify a package name prefix for all generated translet classes)
-XN (enable XSL template inlining into one big method)
-XX (turn on additional debugging message output)
-XT (use translet to transform if possible)

==============================================================
Written by: Robert Allen, slacker-at-slaphappygeeks.com