Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Execute an XSL Transformation
After you have modeled an XSL Transformation, you can execute it directly from the model diagram. You can also perform the transformation directly from the XSL Stylesheet and input files, using the main menu.
Execute the Transformation From the Diagram
Step |
Action |
See also |
---|---|---|
1 |
On the XML Transform diagram, right click on the XML Transform Activity element and select the Run XSL Transformation option. The XSLT Debugger view displays, showing the stylesheet (.xsl) file and XML file contents used in the transformation. The System Output window also displays, showing the error or success messages in the XSL tab. (Press Ctrl+Shift+8 if the System Output window does not display.) If you have set up validation of the output, the System Output window also shows the validation comments.
|
|
2 |
If you have directed the output to a file via an Output or File Artifact, press F12 to view the output.
|
|
Execute the Transformation From the Main Menu
You can also execute a transformation on the files directly from the XSLT Debugger.
Step |
Action |
See also |
---|---|---|
1 |
Select the Tools | XSLT Debugger Transformation menu option. The XSLT Debugger view displays, with no stylesheet file or input file contents.
|
|
2 |
On the XSLT Debugger toolbar, click on the The stylesheet file contents display in the left panel of the debugger view, and the source file contents display in the right panel.
|
|
3 |
Click on the blue Run arrow in the toolbar, to execute the transformation. The System Output window also displays, showing the error or success messages in the XSL tab. (Press Ctrl+Shift+8 if the System Output window does not display.) If you have set up validation of the output, the System Output window also shows the validation comments.
|
|
4 |
If you have directed the output to a file via an Output or File Artifact, press F12 to view the output.
|
|
Learn more