/etc/ooo2dbk.xml is in ooo2dbk 2.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | <?xml version="1.0" encoding="ISO-8859-15"?>
<!DOCTYPE config [
<!ELEMENT config
(xslt-command+, xslt-stylesheet+, dtd+, images, oooserver?, ole?, ooopython?)>
<!ELEMENT xslt-command EMPTY>
<!ATTLIST xslt-command
name CDATA #REQUIRED
command CDATA #REQUIRED
param-syntax CDATA #REQUIRED>
<!ELEMENT xslt-stylesheet EMPTY>
<!ATTLIST xslt-stylesheet
name CDATA #REQUIRED
stylesheetPath CDATA #REQUIRED>
<!ELEMENT dtd EMPTY>
<!ATTLIST dtd
name CDATA #REQUIRED
doctype-public CDATA #REQUIRED
doctype-system CDATA #REQUIRED>
<!ELEMENT images EMPTY>
<!ATTLIST images
imageNameRoot CDATA #REQUIRED
imagesRelativeDirectory CDATA #REQUIRED>
<!ELEMENT oooserver EMPTY>
<!ATTLIST oooserver
host CDATA #REQUIRED
port CDATA #REQUIRED>
<!ELEMENT ole EMPTY>
<!ATTLIST ole
imgFormat CDATA #REQUIRED
scriptPath CDATA #REQUIRED>
<!ELEMENT ooopython EMPTY>
<!ATTLIST ooopython
path CDATA #REQUIRED>
]>
<!--
============================
OOo2DBK - Configuration File
============================
$Id: ooo2dbk.xml 50227 2006-11-23 15:08:05Z lgodard $
-->
<config>
<!-- Command for conversion with XsltProc (http://xmlsoft.org) -->
<xslt-command
name="xsltproc"
command="xsltproc %v -o %o %s %i"
param-syntax="--stringparam %s %s"
/>
<!-- Command for conversion with Saxon (http://saxon.sourceforge.net) -->
<xslt-command
name="saxon"
command="java com.icl.saxon.StyleSheet -o %o %i %s %v"
param-syntax="%s=%s"
/>
<!-- Command for conversion with Saxon and Catalog Resolver -->
<xslt-command
name="saxon-cat"
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"
param-syntax="%s=%s"
/>
<!-- XXX: Test and update this command definition -->
<!--
<xslt-command
name="xalan"
command="java org.apache.xalan.xslt.Process -IN %i -XSL %s -OUT %o"
param-syntax="XXX"
/>
-->
<!-- XXX: Test and update this command definition -->
<!-- Command for free conversion, DocBook to PDF with FOP (http://fop.apache.org) -->
<!--
<xslt-command
name="fop-pdf"
command="fop -xsl %s -xml %i -pdf %o"
param-syntax="XXX"
/>
-->
<!-- Relative path of OpenOffice.org to DocBook stylesheet -->
<xslt-stylesheet
name="ooo1"
stylesheetPath="/usr/share/xml/ooo2dbk/ooo2dbk.xsl"
/>
<xslt-stylesheet
name="ooo2"
stylesheetPath="/usr/share/xml/ooo2dbk/ooo2dbk.odf.xsl"
/>
<!-- DTD -->
<dtd
name="docbook44"
doctype-public='"-//OASIS//DTD DocBook XML V4.4//EN"'
doctype-system='"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"'
/>
<dtd
name="docbook43"
doctype-public='"-//OASIS//DTD DocBook XML V4.3//EN"'
doctype-system='"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"'
/>
<dtd
name="docbook412"
doctype-public='"-//OASIS//DTD DocBook XML V4.1.2//EN"'
doctype-system='"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"'
/>
<!-- Images -->
<images
imageNameRoot="img"
imagesRelativeDirectory="images"
/>
<!--
Listening OpenOffice.org instances to use for OLE processing.
This configuration item is only used when the "ole" option is specified.
-->
<oooserver
host="localhost"
port="2002"
/>
<!--
The configuration used when the "ole" option is specified.
This specifies the image format for the images generated from potential
OLE objects.
This also specifies the place where the ole2img.py module/script can be found.
This last option will become useless once we don't need to call the ole2img.py
script with the python shipped by OpenOffice.org.
-->
<ole
imgFormat="png"
scriptPath="/usr/bin/ole2img.py"
/>
<!--
The python shipped with OpenOffice.org.
This option should not be needed if OpenOffice.org was shipping Python 2.3
or if PyUNO bridge could easily be used from the system Python.
This configuration item is only used when the "ole" option is specified.
-->
<ooopython
path="/usr/local/openoffice-1.1.5/program/python"
/>
</config>
|