Hello everybody!
I want to color the background of table cells depends of text inside the cell. The content of cells come from data binding via customXML. Data binding works very well.
The structure of document.xml after binding process looks like this:
<w:tc>
<w:tcPr>
...
<w:shd w:val="clear" w:color="auto" w:fill="FF00FF"/>
</w:tcPr>
<w:p w:rsidRPr="00FA37FC" w:rsidR="000F1019" w:rsidP="00EA4B55" w:rsidRDefault="00EA4616">
<w:pPr>
...
</w:pPr>
<w:sdt>
<w:sdtPr>
...
<w:tag w:val="od:xpath=x16_1_0&sequence_rating=sequence_rating"/>
<w:dataBinding w:xpath="/testsuite[1]/tests/test[2][1]/sequences/sequence[1][1]/@rating" w:storeItemID="{8B049945-9DFE-4726-9DE9-CF5691E53858}"/>
...
</w:sdtPr>
<w:sdtContent>
<w:r>
<w:t>PASSED</w:t>
</w:r>
</w:sdtContent>
</w:sdt> ...