Description |
Transforms the XML file into HTML file using an XSLT file. You can also provide the XSLT parameter, which will be replaced by its value dynamically. |
Declaration |
<AMXMLTRANSFORM XSLTFILE="text" HTMLFILE="text" OVERWRITEFILE="text [options]"><Parameter Name="text" Value="text" /></AMXMLTRANSFORM> |
Example |
<AMXMLTRANSFORM XSLTFILE="C:\Cars.xsl" HTMLFILE="C:\CarOutput.html" OVERWRITEFILE="YES" SESSIONNAME="XML1" /> |
General Tab Parameters |
XSLT file: Allows you to specify the location of XSLT file on your local system. Text, Required HTML file: Allows you to specify the location on your local system where you want to store the HTML file. Text, Required Overwrite if file exists: If set to Yes, specifies that if the file already exists, it will be overwritten with the new document. If set to No, the step fails if the file already exists. Text [options], Optional - Default "No" Session name: Specifies the session name to run the XML file in subsequent XML steps. This allows several connections to be active simultaneously. Text, Optional - Default "XMLSession1" |
XSLT Parameter Tab (optional) |
If the XSLT file has parameters that can be dynamically replaced in the HTML file during transformation, you can specify them using this Tab. It also adds a new node Parameter into AML Code. e.g. (<Parameter Name="Make" Value="BMW" />). To insert parameters into new node
Name: Specifies the name of the parameters. Text, Optional Value: Specifies the value of the parameter. Text, Optional Move Up: Moves a selected parameter up the list. Move Down: Moves a selected parameter move it down the list. Modify: Modifies a selected parameter names and values. Remove: Removes a selected parameter. |
See Also |