Docs / Content

TransformXML()

TransformXML is an AMPscript function in the content category. Uses the browser XSLT engine; browser preview only.

Syntax

TransformXML(xml, xslt)

Example

TransformXML depends on browser capabilities and runs in the AmpSend editor's live preview - open the app to try it.

Try TransformXML in the editor - free, no signup

AmpSend runs AMPscript entirely in your browser: instant preview, named test scenarios, shared content blocks and data extensions, and an AI assistant that knows every supported function. Nothing leaves your machine.

Official Salesforce documentation

TransformXML in the official AMPscript reference - or browse the official index of AMPscript functions for platform behavior and edge cases.

Related content functions