ballerina/xslt

Overview

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

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

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.