Lasso Soft Inc. > Home

[XML_Transform]

The [XML_Transform] tag allows an XSLT style sheet to be applied to XML data. XSLT style sheets can be used to transform XML from one DTD or Schema to another or to transform XML to HTML or even to plain text.

The XML data which is to be transformed is specified in the -XMLData parameter. The XML data can be either a string or an XML object.

The XSLT style sheet is specified in the -XSLT parameter. The XSLT style sheet should be a string variable containing the style sheet.

The result of this tag is always a string value.

  • Syntax
  • Parameters
[XML_Transform: -XMLData='XML Data', -XSLT='XSLT String']
Required Parameters
-XML The XML object which is to be transformed.
-XSL The XSLT style sheet which is to be applied to the XML data.
Examples

See the XML chapter in the Lasso 8 Language Guide for examples of how to use this tag. Many of the XML examples require lengthy descriptions and the use of several related tags and are better suited to presentation in the Language Guide. This tag is documented on page 505.

Tag Link [XML_Transform] Category XML
Type Substitution Data Source Any
Support Preferred Version 6.0
Output Type String Security None
Implementation LJAPI Sets Lasso 6.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft