XSLT used with XMLLIB

The XSLT function that is used with XMLLIB applies an XSLT transformation.

This function applies an XSLT transformation, expressed as a text stream or URL, to the provided XML input, returning the result of the transformation.

Syntax:
XSLT (single-text-expression, single-text-expression)
Meaning:
XSLT (xml_url_or_xml_fragment, xslt_url_or_xslt_fragment)
Returns:
A single text item

Examples

  • xmllib->XMLLIB XSLT( "ipo.in.xml", "ipo.xsl" )

    Applies the XSLT transformation that is defined in the ipo.xsl file to the ipo.in.xml file.

  • xmllib->XMLLIB XSLT( PACKAGE( source ), "ipo.xsl" )

    Applies the XSLT transformation that is defined in the ipo.xsl file to the input XML fragment.