Functions

transform
I

Transforms the single-rooted XML content to another XML/HTML/plain text using XSL transformations.

transform

function transform(xml input, xml xsl) returns xml | error
Isolated Function

Transforms the single-rooted XML content to another XML/HTML/plain text using XSL transformations.

1xml|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 cannot be transformed