XSLT

Frends.XSLT.Transform / 2.4.0

Summary

Transforms XML with an XSLT stylesheet, keeping the mapping as a declarative document rather than code. The stylesheet's own version attribute selects XSLT 1.0, 2.0 or 3.0, and it is required.

Typical use — canonical mapping between two systems' XML, where the stylesheet is a maintained artefact in its own right

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

Transform task input.

Name Type Default Example Description
XML String ...

XML to transform.

XSLT String <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:template match="/"> <result><xsl:value-of select="//item"/></result> </xsl:template> </xsl:stylesheet>

XSLT transformation. The XSLT version (1.0, 2.0, or 3.0) is determined by the version attribute in the stylesheet element. The version attribute is required.

XSLTParameters XSLTParameter[] [ { Name = "param", Value = "foo" }, { Name = "param2", Value = "bar" } ]

XSLT parameters.

An unhandled error has occurred. Reload 🗙