# XSLT Processor Type

###### Identifier:

org.eclipse.wst.xsl.launching.jaxp.processorType

###### Description:

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.

###### Configuration Markup:

<!ELEMENT extension (processorType+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT processorType (transformerFactory*)>

<!ATTLIST processorType

id CDATA #REQUIRED

label CDATA #REQUIRED

outputProperties CDATA #IMPLIED

attributeProperties CDATA #IMPLIED

>

- id - Unique id for the processor type
- label - Name for display in the UI
- outputProperties - Location of a properties file containing the list of the processors output properties. Must be a path relative to the root of the bundle.
- attributeProperties - 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.

<!ELEMENT transformerFactory EMPTY>

<!ATTLIST transformerFactory

factoryClass CDATA #REQUIRED

name CDATA #REQUIRED

>

A TransformerFactory for this type

- factoryClass - The fully-qualified transformer factory class
- name - A name for this transformer factory to be displayed in the UI

###### Examples:

       <extension
             point="org.eclipse.wst.xsl.jaxp.launching.processorType">
          <processorType
                attributeProperties="XalanAttributes.properties"
                id="org.eclipse.wst.xsl.xalan.processorType"
                label="%processorType.label.0"
                outputProperties="XalanOutputProperties.properties">
             <transformerFactory
                   factoryClass="org.apache.xalan.processor.TransformerFactoryImpl"
                   name="Interpretive">
             </transformerFactory>
             <transformerFactory
                   factoryClass="org.apache.xalan.xsltc.trax.TransformerFactoryImpl"
                   name="Compiling">
             </transformerFactory>
          </processorType>
       </extension>

Copyright (c) 2007 Chase Technology Ltd - http://www.chasetechnology.co.uk.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/