root/OOo/ooo2dbk/trunk/ooo2dbk.xml

Revision 50227, 4.3 kB (checked in by lgodard, 2 years ago)

- patch file for setup.py deployement

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <?xml version="1.0" encoding="ISO-8859-15"?>
2 <!DOCTYPE config [
3 <!ELEMENT config
4           (xslt-command+, xslt-stylesheet+, dtd+, images, oooserver?, ole?, ooopython?)>
5
6 <!ELEMENT xslt-command    EMPTY>
7 <!ATTLIST xslt-command
8           name            CDATA   #REQUIRED
9           command         CDATA   #REQUIRED
10           param-syntax    CDATA   #REQUIRED>
11
12 <!ELEMENT xslt-stylesheet EMPTY>
13 <!ATTLIST xslt-stylesheet
14           name            CDATA   #REQUIRED
15           stylesheetPath  CDATA   #REQUIRED>
16
17 <!ELEMENT dtd             EMPTY>
18 <!ATTLIST dtd
19           name            CDATA   #REQUIRED
20           doctype-public  CDATA   #REQUIRED
21           doctype-system  CDATA   #REQUIRED>
22
23 <!ELEMENT images          EMPTY>
24 <!ATTLIST images
25           imageNameRoot   CDATA   #REQUIRED
26           imagesRelativeDirectory CDATA   #REQUIRED>
27
28 <!ELEMENT oooserver       EMPTY>
29 <!ATTLIST oooserver
30           host            CDATA   #REQUIRED
31           port            CDATA   #REQUIRED>
32
33 <!ELEMENT ole             EMPTY>
34 <!ATTLIST ole
35           imgFormat       CDATA   #REQUIRED
36           scriptPath      CDATA   #REQUIRED>
37
38 <!ELEMENT ooopython       EMPTY>
39 <!ATTLIST ooopython
40           path            CDATA   #REQUIRED>
41
42 ]>
43 <!--
44 ============================
45 OOo2DBK - Configuration File
46 ============================
47 $Id$
48 -->
49 <config>
50
51   <!-- Command for conversion with XsltProc (http://xmlsoft.org) -->
52   <xslt-command
53     name="xsltproc"
54     command="xsltproc %v -o %o %s %i"
55     param-syntax="--stringparam %s %s"
56     />
57
58   <!-- Command for conversion with Saxon (http://saxon.sourceforge.net) -->
59   <xslt-command
60     name="saxon"
61     command="java com.icl.saxon.StyleSheet -o %o %i %s %v"
62     param-syntax="%s=%s"
63     />
64
65   <!-- Command for conversion with Saxon and Catalog Resolver -->
66   <xslt-command
67     name="saxon-cat"
68     command="java com.icl.saxon.StyleSheet -r org.apache.xml.resolver.tools.CatalogResolver -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader -u -o %o %i %s %v"
69     param-syntax="%s=%s"
70     />
71
72   <!-- XXX: Test and update this command definition -->
73   <!--
74   <xslt-command
75     name="xalan"
76     command="java org.apache.xalan.xslt.Process -IN %i -XSL %s -OUT %o"
77     param-syntax="XXX"
78     />
79   -->
80
81   <!-- XXX: Test and update this command definition -->
82   <!-- Command for free conversion, DocBook to PDF with FOP (http://fop.apache.org) -->
83   <!--
84   <xslt-command
85     name="fop-pdf"
86     command="fop -xsl %s -xml %i -pdf %o"
87     param-syntax="XXX"
88     />
89   -->
90
91   <!-- Relative path of OpenOffice.org to DocBook stylesheet -->
92   <xslt-stylesheet
93     name="ooo1"
94     stylesheetPath="ooo2dbk.xsl"
95     />
96   <xslt-stylesheet
97     name="ooo2"
98     stylesheetPath="ooo2dbk.odf.xsl"
99     />
100  
101   <!-- DTD -->
102   <dtd
103     name="docbook44"
104     doctype-public='"-//OASIS//DTD DocBook XML V4.4//EN"'
105     doctype-system='"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"'
106     />
107   <dtd
108     name="docbook43"
109     doctype-public='"-//OASIS//DTD DocBook XML V4.3//EN"'
110     doctype-system='"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"'
111     />
112   <dtd
113     name="docbook412"
114     doctype-public='"-//OASIS//DTD DocBook XML V4.1.2//EN"'
115     doctype-system='"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"'
116     />
117
118   <!-- Images -->
119   <images
120     imageNameRoot="img"
121     imagesRelativeDirectory="images"
122     />
123
124   <!--
125   Listening OpenOffice.org instances to use for OLE processing.
126   This configuration item is only used when the "ole" option is specified.
127   -->
128   <oooserver
129     host="localhost"
130     port="2002"
131     />
132
133   <!--
134   The configuration used when the "ole" option is specified.
135   This specifies the image format for the images generated from potential
136   OLE objects.
137   This also specifies the place where the ole2img.py module/script can be found.
138   This last option will become useless once we don't need to call the ole2img.py
139   script with the python shipped by OpenOffice.org.
140   -->
141   <ole
142     imgFormat="png"
143     scriptPath="ole2img.py"
144     />
145
146   <!--
147   The python shipped with OpenOffice.org.
148   This option should not be needed if OpenOffice.org was shipping Python 2.3
149   or if PyUNO bridge could easily be used from the system Python.
150   This configuration item is only used when the "ole" option is specified.
151   -->
152   <ooopython
153     path="/usr/local/openoffice-1.1.5/program/python"
154     />
155
156 </config>
Note: See TracBrowser for help on using the browser.