I'm using rtf format and I have following construction:
template:
<wr:if select=”true”>
1. text1</wr:if>
2. text2
3. text3
4. reference to 2nd item { REF _Ref197513314 \r }
XML:
<data/>
generated document:
1. text2
2. text3
3. reference to 2nd item { HYPERLINK \l "_Ref197513314" }
{ REF _Ref197513314 \r } is cross-reference to second item and shows value 2. After generating document, the reference to second item is transformed to { HYPERLINK \l "_Ref197513314" } which is hyperlink to second item with value 2. If you see, first item is not shown in generated document and the soncond item in template is the first one in generated document. Then I expact that HYPERLINK will have value 1, but not 2. I try bookmartks too, but its doesn't work. I'm using MS Word 2000. How can I use dynamics lists and references to its items?
Thanks, Boris.