XSLTEX

The XSLTEX function applies an XSLT transformation to the XML input, and logs the function processing in the directory where the map runs by using the XMLLIB library.

This function applies an XSLT transformation, expressed as a text stream or URL, to the provided XML input. The XSLTEX function returns the result of the transformation and generates the specified trace log file in the directory.
Syntax:
XSLTEX (single-text-expression, single-text-expression, tracelog)
Meaning:
XSLTEX (xml_url_or_xml_fragment, xslt_url_or_xslt_fragment, trace_file_name.extension)
Returns:
A single text item

Example

  • xmllib->XSLTEX( "ipo.in.xml", "ipo.xsl", "transform.log")

    Applies the XSLT transformation that is defined in the ipo.xsl file to the ipo.in.xml file, and generates a trace log of function processing