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.
- description - Specify a brief description for the script to inform the user what this script
performs; This will be certainly an information for what models this script
will be used (corresponds to the restriction attribute) For Example : Feature Models.
- script - The XSLT script of this export. This should be the plugin relative path to the
script.
- restriction - Comma seperated list of model types for which the script can be used (empty if for every model)">
<!ELEMENT parameter (tooltip)>
<!ATTLIST parameter
name CDATA #REQUIRED
required (true | false)
type CDATA "ps:string">
An additional parameter.
- name - The name of this xslt script parameter
- required - True, if the parameter is required, false otherwise
- type - Specify a type for the script, for the user to know
which type to enter and which (type dependent editor) should open
<!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.
- name - Name for this export shown in the export wizard
- description - This description is shown in the Title Area of the export wizard dialog, when this
export is selected.
- icon - Icon for this export shown in the export wizard
- extension - A comma seperated list of file extensions that is suggested for the output file.
- types - The type of this xslt export (i.e. html)
- modelselection - Set this attribute true, if the user should get a model selection pane;
This makes only sense for variant description models, where the user then
may cut the set of used input models for the vdm.
- restriction - A comma seperated list of model types;
This list cuts the incoming list of input models
such that only the models matching the types in this type list are used
as input for the export; En empty list allows all model types.
<!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>