ballerina/xslt

Overview

This module provides an API to transform XML content to another XML/HTML/plain text format using XSL transformations.

The Extensible Stylesheet Language Transformations (XSLT) is used to obtain alternative XML representations and especially for generating HTML documents.

The usage of the XSLT API is as follows:

1xml target = check xslt:transform(sourceXml, xsl);

Functions

[1]

transform

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

Errors

[1]

TransformError

Represents a TransformError with the message and the cause.