blob: eaada5f54d3723108b65a5611664d813f21f0f97 [file] [log] [blame]
dsatchwelb475f7c2008-08-14 10:43:52 +00001<?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>
dsatchwel1dc4ded2008-09-01 14:44:54 +00009 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.
dsatchwelb475f7c2008-08-14 10:43:52 +000010 </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>
dsatchwel1dc4ded2008-09-01 14:44:54 +0000114 A name for this transformer factory to be displayed in the UI
dsatchwelb475f7c2008-08-14 10:43:52 +0000115 </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 &lt;pre&gt;
131 &lt;extension
dsatchwel1dc4ded2008-09-01 14:44:54 +0000132 point=&quot;org.eclipse.wst.xsl.jaxp.launching.processorType&quot;&gt;
dsatchwelb475f7c2008-08-14 10:43:52 +0000133 &lt;processorType
134 attributeProperties=&quot;XalanAttributes.properties&quot;
135 id=&quot;org.eclipse.wst.xsl.xalan.processorType&quot;
dsatchwel1dc4ded2008-09-01 14:44:54 +0000136 label=&quot;%processorType.label.0&quot;
137 outputProperties=&quot;XalanOutputProperties.properties&quot;&gt;
138 &lt;transformerFactory
139 factoryClass=&quot;org.apache.xalan.processor.TransformerFactoryImpl&quot;
140 name=&quot;Interpretive&quot;&gt;
141 &lt;/transformerFactory&gt;
142 &lt;transformerFactory
143 factoryClass=&quot;org.apache.xalan.xsltc.trax.TransformerFactoryImpl&quot;
144 name=&quot;Compiling&quot;&gt;
145 &lt;/transformerFactory&gt;
dsatchwelb475f7c2008-08-14 10:43:52 +0000146 &lt;/processorType&gt;
147 &lt;/extension&gt;
148&lt;/pre&gt;
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 - &lt;a href=&quot;http://www.chasetechnology.co.uk&quot;&gt;http://www.chasetechnology.co.uk&lt;/a&gt;.&lt;br&gt;
160All rights reserved. This program and the accompanying materials are made
161available under the terms of the Eclipse Public License v1.0 which accompanies
162this distribution, and is available at &lt;a
163href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
164 </documentation>
165 </annotation>
166
167</schema>