Skip to content

Unmatched Template Error #8

@bkarst

Description

@bkarst
<w:p>
  <w:pPr>
    <w:pStyle w:val="Body 2"/>
    <w:bidi w:val="0"/>
  </w:pPr>
  <w:r>
    <w:t>#BEGIN_ROW:EXPERIENCES_TITLE#</w:t>
  </w:r>
</w:p>
<w:p>
  <w:pPr>
    <w:pStyle w:val="Heading"/>
    <w:bidi w:val="0"/>
  </w:pPr>
  <w:r>
    <w:rPr>
      <w:rFonts w:ascii="Didot" w:cs="Arial Unicode MS" w:hAnsi="Arial Unicode MS" w:eastAsia="Arial Unicode MS"/>
      <w:rtl w:val="0"/>
    </w:rPr>
    <w:t>$EACH:EXPERIENCE_TITLE$</w:t>
  </w:r>
</w:p>
<w:p>
  <w:pPr>
    <w:pStyle w:val="Body 2"/>
    <w:bidi w:val="0"/>
  </w:pPr>
  <w:r>
    <w:t>#END_ROW:EXPERIENCES_TITLE#</w:t>
  </w:r>
</w:p>

I'm zipping the following xml into a docx template. (I'm not posting the entire xml doc)

And I'm inserting the following data into the template:
{'experiences_title' => [{'experience_title' => "Experience"}}

It doesn't seem to recognize any of my row markers. When I try to generate the doc, I'm getting:

unmatched template markers: #BEGIN_ROW:EXPERIENCES_TITLE# nil: true, #END_ROW:EXPERIENCES_TITLE# nil: true. This could be because word broke up tags with it's own xml entries. See README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions