Generating XSLT script
After you complete your mappings in the XML to XML mapping editor, you can generate an XSLT script.
The following instructions were written for the Resource perspective, but they will also work in many other perspectives.
To generate the XSLT script,...
- In the Navigator view, right-click your .xmx file and click Generate XSLT.
- Select the folder that will contain the XSLT file.
- Type the name of the XSLT file, for example: MyXSLfile.xsl. Your filename must end in .xsl.
- Click Finish. The file appears in the Navigator view and opens in the XSL editor.
- Review the XSLT file.
Note:
If you are mapping elements containing choices, it may be necessary to save, close and re-open the mapping session before generating the corresponding XSLT file. This is a known problem.
XSLT and XPath
XSLT (Extensible Stylesheet Language: Transformations) is a language for transforming the structure of XML documents. It is designed for use as part of XSL (Extensible Stylesheet Language).Limitations of XML to XML mapping editor
This section describes known product aspect limitations and workarounds.
Parent topic
Mapping between XML files