DocX from dynamic template Smart Service

Certified Associate Developer

I am trying to use the DOCX from dynamix template smart service

"<dynamic>
<caseNumber>U-123</caseNumber>
<caseOpenDate>9/23/2024</caseOpenDate>
<fbiLocation>Texas</fbiLocation>

<Today>May 30, 2025</Today>
<fbiPhone>(123) 456-7895</fbiPhone>
<fbiEmail>test@gmail.com</fbiEmail>
<fbiRole>Chris Hustle</fbiRole>
<SItable Subject='Jeff Gates' DOB='2/11/1982' SSN='' />
<SItable Subject='Aron Jones' DOB='6/22/2005' SSN='' />
<SItable Subject='Chris H'stle' DOB='' SSN='' />
<allegations></allegations>
</dynamic>"


However, I'm encountering the following error due to the apostrophe in the Subject attribute:

Element type "SItable" must be followed by either attribute specifications, ">" or "/>".

The issue is caused by the unescaped apostrophe (') in the Subject attribute (Chris H'stle). Since the user requires the apostrophe to appear in the document, I cannot remove or replace it.
Let me know if there is any other way to achieve this document having the apostrophe 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data