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
  • 0
    Certified Lead Developer

    "
    <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>
    <Stable Subject=""Jeff Gates"" DOB=""2/11/1982"" SSN="""" />
    <Stable Subject=""Aron Jones"" DOB=""6/22/2005"" SSN="""" />
    <Stable Subject=""Chris H'stle"" DOB="""" SSN="""" />
    <allegations></allegations>
    </dynamic>
    "


    Use this code and let me know if that works for you.

Reply
  • 0
    Certified Lead Developer

    "
    <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>
    <Stable Subject=""Jeff Gates"" DOB=""2/11/1982"" SSN="""" />
    <Stable Subject=""Aron Jones"" DOB=""6/22/2005"" SSN="""" />
    <Stable Subject=""Chris H'stle"" DOB="""" SSN="""" />
    <allegations></allegations>
    </dynamic>
    "


    Use this code and let me know if that works for you.

Children
No Data