Variant Export XSLT Scripts

Identifier:
com.ps.consul.eclipse.ui.export.vdm.VariantExportXSLTScripts

Since:
1.3

Description:
XSLT-Scripts, used with the models to perform an export type, for example HTML

Configuration Markup:

<!ELEMENT extension (XSLTExport)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

Extension point for additional variant export XSLT scripts.



<!ELEMENT XSLTScript (parameter)+>

<!ATTLIST XSLTScript

description CDATA #REQUIRED

script      CDATA #REQUIRED

restriction CDATA #IMPLIED>

An additional XSLT script.



<!ELEMENT parameter (tooltip)>

<!ATTLIST parameter

name     CDATA #REQUIRED

required (true | false)

type     CDATA "ps:string">

An additional parameter.



<!ELEMENT XSLTExport (XSLTScript)>

<!ATTLIST XSLTExport

name           CDATA #REQUIRED

description    CDATA #IMPLIED

icon           CDATA #IMPLIED

extension      CDATA #REQUIRED

types          CDATA #IMPLIED

modelselection (true | false) "false"

restriction    CDATA #IMPLIED>

A XSLT export. It can contain more than one xslt script.
The xslt export is displayed as one export type. For each script contained in the export an own file is created.



<!ELEMENT tooltip (#PCDATA)>

The tooltip of the parameter that shows a description to this parameter



Examples:
<XSLTExport name="Name for this export shown in the export wizard"
            description="Description for this export shown in the 
                         export wizard (message area)"
            icon="Icon for this export shown in the export wizard"
            type="The type of this xslt export (i.e. html)"
    <XSLTScript type="the export type performed by the script"
                script="the plugin relative path to the script"
                restriction="a comma seperated list of model types for  
                             which the script can be used (empty if 
                             for every model)">
        <parameter name="The name of this xslt script parameter"
                   tooltip="The tooltip for this parameter shown to 
                            the user"
                   required="True/False">
        </parameter>
        .
        .
        .
    </XSLTScript>
    .
    .
    .
</XSLTExport>