Jitterbit · XSLT in scripts
Failed to execute xslt. XML version must be 1.0 or 1.1
Short answer
This error means the XSLT stylesheet outputs HTML instead of XML. Set the stylesheet output method to XML, or remove the xsl:output element.
VerifiedLast verified
01Error text
Failed to execute xslt. XML version must be 1.0 or 1.102Likely causes
- The stylesheet's output method is HTML.
03How to fix it
- Set the output method in the stylesheet to XML.
- Or remove the
xsl:outputelement.
04Fix it with AI
Copy this prompt into Claude Code, ChatGPT or any AI assistant. It already holds the error, the likely causes and the fix steps, so the assistant starts from what is known instead of guessing.
I'm getting this error in Jitterbit Harmony (XSLT in scripts):
Failed to execute xslt. XML version must be 1.0 or 1.1
What it usually means: This error means the XSLT stylesheet outputs HTML instead of XML. Set the stylesheet output method to XML, or remove the xsl:output element.
Likely causes:
- The stylesheet's output method is HTML.
Fix steps that usually work:
1. Set the output method in the stylesheet to XML.
2. Or remove the xsl:output element.
Help me fix it. If you can read my project files, find where this error comes from. If not, ask me for what you need (the failing step, its input, the connection or config). Check the likely causes one by one, tell me which one it is and why, then give me the exact change to make. Do not change anything in production. Reference: https://ipaaserrors.com/jitterbit/xml-version-must-be-1-0-or-1-1Nothing is sent anywhere from this page. Read what the assistant suggests before you apply it.
05Official documentation
→Related errors
- Failed to convert XML file to JSONThis Jitterbit transformation error means XML embedded in JSON contains a CDATA section, which is not supported. In a Jitterbit script, use Replace to swap the special characters inside the CDATA section, including the CDATA delimiters, for their escaped equivalents.
- An invalid XML character was found in the element content of the documentThis Jitterbit Design Studio error means the project metadata contains a control character that is invalid in XML. Open the project in Design Studio, or use a recent local backup, to inspect the metadata.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Jitterbit work:Open Jitterbit jobsJitterbit pay estimates