Functions - xslt

transform
Transforms the single-rooted XML content to another XML/HTML/plain text using XSL transformations.
 xml|error target = xslt:transform(sourceXml, xsl);

transform

(xml input, xml xsl)

returns xml | error
Transforms the single-rooted XML content to another XML/HTML/plain text using XSL transformations.
 xml|error target = xslt:transform(sourceXml, xsl);

Parameters

  • input xml
  • An XML object, which needs to be transformed

  • xsl xml
  • The XSL style sheet represented in an XML object

  • Return Type

    (xml | error)
  • The transformed result represented in an XML object or else an error if the given XML object can't be transformed