Apply XSLT Stylesheet
- 13 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Apply XSLT Stylesheet
- Updated on 13 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 5.0.0 |
Location | Data > 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
Property | Description | Data Type |
---|---|---|
XML Doc To Modify | XML document to apply the stylesheet | String/FileData |
XSLT Stylesheet | Stylesheet to apply to the XML document | String/FileData |
Settings
Property | Description | Data Type |
---|---|---|
Take Files As Input | Allows a user to choose a file for the input options | --- |
Output Must Be Valid XML | Specifies whether the output file follows valid XML standards | --- |
Outputs
Property | Description | Data Type | |
---|---|---|---|
Done | |||
Output | XML file | String |
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?