Apply XSLT Stylesheet
  • 13 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Apply XSLT Stylesheet

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.0.0
LocationData > XML

Apply XSLT Stylesheet allows users to apply an XSLT stylesheet to an XML document. The XSLT stylesheet contains templates that define how to transform an XML document into another format, such as HTML or PDF.



Properties

Inputs

PropertyDescriptionData Type
XML Doc To ModifyXML document to apply the stylesheetString/FileData
XSLT StylesheetStylesheet to apply to the XML documentString/FileData

Settings

PropertyDescriptionData Type
Take Files As InputAllows a user to choose a file for the input options ---
Output Must Be Valid XMLSpecifies whether the output file follows valid XML standards---


Outputs

PropertyDescriptionData Type
Done

OutputXML fileString


Common Errors

XSLT stylesheet format is invalid

One standard error when applying an XSLT is that the stylesheet is invalid. Ensure that the XSLT stylesheet input is correct and is a valid XSLT file.

Exception Stack Trace: DecisionsFramework.BusinessRuleException: [BusinessRule] XSLT stylesheet format is invalid
   at DecisionsFramework.Design.Flow.CoreSteps.XML.ApplyXSLTStylesheetStep.ApplyXslt(TextReader xmlDocReader, TextReader xsltReader)
   at DecisionsFramework.Design.Flow.CoreSteps.XML.ApplyXSLTStylesheetStep.Run(StepStartData data)
   at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData)
   at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)

Related Information

Forum Posts:
XSLT Step Throwing Errors Applying Stylesheet


Was this article helpful?

What's Next