1<!--*********************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 ***********************************************************--> 21 22 23 24<!-- converter.dtd 25 26 Author: Brian Cameron 27 28 This DTD file is provided for documentation and development 29 purposes, the converter does not actually validate the 30 converter.xml files that it processes. Plug-ins will not 31 work properly, though, if the converter.xml does not 32 conform to this DTD specification. --> 33 34<!-- The root node, converters, must contain one or more 35 converter nodes, each corresponds to a converter plug-in. --> 36 37<!ELEMENT converters (converter)+> 38 39<!-- The converter node must contain two elements: 40 type - The convert-from mime-type. 41 version - The version of the plug-in. 42 43 Each converter node must contain these child nodes: 44 converter-display-name - Name of the converter 45 converter-class-impl - The PluginFactory implementation for 46 the plugin 47 converter-targets - Can be one or more of these nodes. Each 48 contains only a "type" element. This 49 "type" element specifies the convert-to 50 mime-type. 51 52 Each converter node may contain these child nodes: 53 converter-description - Descriptive description of the plug-in. 54 converter-vendor - Plug-in vendor name 55 converter-xslt-serialize - The URL of the xsl stylesheet for 56 serialization. This stylesheet must 57 exist if the xslt plugin implementation 58 is to be used. It is assumed that the 59 plug-in specified via converter-class-impl 60 will make use of this value. 61 converter-xslt-deserialize - The URL of the xsl stylesheet for 62 deserialization. This stylesheet must 63 exist if the xslt plugin implementation 64 is to be used. It is assumed that the 65 plug-in specified via converter-class-impl 66 will make use of this value. 67 --> 68 69<!ELEMENT converter (converter-display-name, 70 converter-description?, 71 converter-vendor?, 72 converter-class-impl, 73 converter-xslt-serialize?, 74 converter-xslt-deserialize?, 75 converter-target+)> 76 77<!ATTLIST converter type CDATA #REQUIRED> 78<!ATTLIST converter version CDATA #REQUIRED> 79 80<!ELEMENT converter-display-name (#PCDATA)> 81<!ELEMENT converter-description (#PCDATA)> 82<!ELEMENT converter-vendor (#PCDATA)> 83<!ELEMENT converter-class-impl (#PCDATA)> 84<!ELEMENT converter-xslt-serialize (#PCDATA)> 85<!ELEMENT converter-xslt-deserialize (#PCDATA)> 86 87<!ELEMENT converter-target EMPTY> 88 89<!ATTLIST converter-target type CDATA #REQUIRED> 90 91