dsatchwel | b475f7c | 2008-08-14 10:43:52 +0000 | [diff] [blame] | 1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!-- Schema file written by PDE --> |
| 3 | <schema targetNamespace="org.eclipse.wst.xsl.launching.jaxp" xmlns="http://www.w3.org/2001/XMLSchema"> |
| 4 | <annotation> |
| 5 | <appinfo> |
| 6 | <meta.schema plugin="org.eclipse.wst.xsl.launching.jaxp" id="processorType" name="XSLT Processor Type"/> |
| 7 | </appinfo> |
| 8 | <documentation> |
dsatchwel | 1dc4ded | 2008-09-01 14:44:54 +0000 | [diff] [blame] | 9 | Contribute a Java XSLT processor type (e.g. Xalan, Saxon). The processor type defines which JAXP attributes and output properies are supported, and also the transformer factory classes it contains. |
dsatchwel | b475f7c | 2008-08-14 10:43:52 +0000 | [diff] [blame] | 10 | </documentation> |
| 11 | </annotation> |
| 12 | |
| 13 | <element name="extension"> |
| 14 | <annotation> |
| 15 | <appinfo> |
| 16 | <meta.element /> |
| 17 | </appinfo> |
| 18 | </annotation> |
| 19 | <complexType> |
| 20 | <sequence> |
| 21 | <element ref="processorType" minOccurs="1" maxOccurs="unbounded"/> |
| 22 | </sequence> |
| 23 | <attribute name="point" type="string" use="required"> |
| 24 | <annotation> |
| 25 | <documentation> |
| 26 | |
| 27 | </documentation> |
| 28 | </annotation> |
| 29 | </attribute> |
| 30 | <attribute name="id" type="string"> |
| 31 | <annotation> |
| 32 | <documentation> |
| 33 | |
| 34 | </documentation> |
| 35 | </annotation> |
| 36 | </attribute> |
| 37 | <attribute name="name" type="string"> |
| 38 | <annotation> |
| 39 | <documentation> |
| 40 | |
| 41 | </documentation> |
| 42 | <appinfo> |
| 43 | <meta.attribute translatable="true"/> |
| 44 | </appinfo> |
| 45 | </annotation> |
| 46 | </attribute> |
| 47 | </complexType> |
| 48 | </element> |
| 49 | |
| 50 | <element name="processorType"> |
| 51 | <annotation> |
| 52 | <appinfo> |
| 53 | <meta.element labelAttribute="label"/> |
| 54 | </appinfo> |
| 55 | </annotation> |
| 56 | <complexType> |
| 57 | <sequence> |
| 58 | <element ref="transformerFactory" minOccurs="0" maxOccurs="unbounded"/> |
| 59 | </sequence> |
| 60 | <attribute name="id" type="string" use="required"> |
| 61 | <annotation> |
| 62 | <documentation> |
| 63 | Unique id for the processor type |
| 64 | </documentation> |
| 65 | </annotation> |
| 66 | </attribute> |
| 67 | <attribute name="label" type="string" use="required"> |
| 68 | <annotation> |
| 69 | <documentation> |
| 70 | Name for display in the UI |
| 71 | </documentation> |
| 72 | <appinfo> |
| 73 | <meta.attribute translatable="true"/> |
| 74 | </appinfo> |
| 75 | </annotation> |
| 76 | </attribute> |
| 77 | <attribute name="outputProperties" type="string"> |
| 78 | <annotation> |
| 79 | <documentation> |
| 80 | Location of a properties file containing the list of the processors output properties. Must be a path relative to the root of the bundle. |
| 81 | </documentation> |
| 82 | </annotation> |
| 83 | </attribute> |
| 84 | <attribute name="attributeProperties" type="string"> |
| 85 | <annotation> |
| 86 | <documentation> |
| 87 | Location of a properties file containing the list of the attributes supported by this processor. Must be a path relative to the root of the bundle. |
| 88 | </documentation> |
| 89 | </annotation> |
| 90 | </attribute> |
| 91 | </complexType> |
| 92 | </element> |
| 93 | |
| 94 | <element name="transformerFactory"> |
| 95 | <annotation> |
| 96 | <documentation> |
| 97 | A TransformerFactory for this type |
| 98 | </documentation> |
| 99 | </annotation> |
| 100 | <complexType> |
| 101 | <attribute name="factoryClass" type="string" use="required"> |
| 102 | <annotation> |
| 103 | <documentation> |
| 104 | The fully-qualified transformer factory class |
| 105 | </documentation> |
| 106 | <appinfo> |
| 107 | <meta.attribute kind="java" basedOn="javax.xml.transform.TransformerFactory:"/> |
| 108 | </appinfo> |
| 109 | </annotation> |
| 110 | </attribute> |
| 111 | <attribute name="name" type="string" use="required"> |
| 112 | <annotation> |
| 113 | <documentation> |
dsatchwel | 1dc4ded | 2008-09-01 14:44:54 +0000 | [diff] [blame] | 114 | A name for this transformer factory to be displayed in the UI |
dsatchwel | b475f7c | 2008-08-14 10:43:52 +0000 | [diff] [blame] | 115 | </documentation> |
| 116 | <appinfo> |
| 117 | <meta.attribute translatable="true"/> |
| 118 | </appinfo> |
| 119 | </annotation> |
| 120 | </attribute> |
| 121 | </complexType> |
| 122 | </element> |
| 123 | |
| 124 | |
| 125 | <annotation> |
| 126 | <appinfo> |
| 127 | <meta.section type="examples"/> |
| 128 | </appinfo> |
| 129 | <documentation> |
| 130 | <pre> |
| 131 | <extension |
dsatchwel | 1dc4ded | 2008-09-01 14:44:54 +0000 | [diff] [blame] | 132 | point="org.eclipse.wst.xsl.jaxp.launching.processorType"> |
dsatchwel | b475f7c | 2008-08-14 10:43:52 +0000 | [diff] [blame] | 133 | <processorType |
| 134 | attributeProperties="XalanAttributes.properties" |
| 135 | id="org.eclipse.wst.xsl.xalan.processorType" |
dsatchwel | 1dc4ded | 2008-09-01 14:44:54 +0000 | [diff] [blame] | 136 | label="%processorType.label.0" |
| 137 | outputProperties="XalanOutputProperties.properties"> |
| 138 | <transformerFactory |
| 139 | factoryClass="org.apache.xalan.processor.TransformerFactoryImpl" |
| 140 | name="Interpretive"> |
| 141 | </transformerFactory> |
| 142 | <transformerFactory |
| 143 | factoryClass="org.apache.xalan.xsltc.trax.TransformerFactoryImpl" |
| 144 | name="Compiling"> |
| 145 | </transformerFactory> |
dsatchwel | b475f7c | 2008-08-14 10:43:52 +0000 | [diff] [blame] | 146 | </processorType> |
| 147 | </extension> |
| 148 | </pre> |
| 149 | </documentation> |
| 150 | </annotation> |
| 151 | |
| 152 | |
| 153 | |
| 154 | <annotation> |
| 155 | <appinfo> |
| 156 | <meta.section type="copyright"/> |
| 157 | </appinfo> |
| 158 | <documentation> |
| 159 | Copyright (c) 2007 Chase Technology Ltd - <a href="http://www.chasetechnology.co.uk">http://www.chasetechnology.co.uk</a>.<br> |
| 160 | All rights reserved. This program and the accompanying materials are made |
| 161 | available under the terms of the Eclipse Public License v1.0 which accompanies |
| 162 | this distribution, and is available at <a |
| 163 | href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| 164 | </documentation> |
| 165 | </annotation> |
| 166 | |
| 167 | </schema> |