Skip to content

XsltTransform

Transforms XML using XSLT.

Parameters

NameDescriptionAllowed ValuesRequiredDefault
contentIndexesList of content indexes to include or excludeinteger (list)
contentTagsList of content tags to include or exclude, matching anystring (list)
excludeContentIndexesExclude specified content indexesbooleanfalse
excludeContentTagsExclude specified content tagsbooleanfalse
excludeFilePatternsExclude specified file patternsbooleanfalse
excludeMediaTypesExclude specified media typesbooleanfalse
filePatternsList of file patterns to include or exclude, supporting wildcards (*)string (list)
mediaTypesList of media types to consider, supporting wildcards (*)string (list)
retainExistingContentRetain the existing contentbooleanfalse
xsltXSLT transformation specificationstring

Input

Content

Input content to act on may be selected (or inversely selected using the exclude parameters) with contentIndexes, mediaTypes, and/or filePatterns. If any of these are set and the content is not matched, the content is passed through unchanged.

Output

Content

Transforms each content using the provided XSLT transformation specification. The transformed content will have the same name as the input content and the media type will be application/xml.

If retainExistingContent is true, each content will be retained, followed by its transformed content.

Errors

  • On invalid XSLT specification provided
  • On failure to transform any content

Contact US