I insert the field boundaries around test with CTRL+F9. And I tried {REF
Test} and simply {Test}, but it doesn't work.
"Graham Mayor" wrote:
Did you insert the field boundaries around Test with CTRL+F9?
Try instead {REF Test} or simply {Test}
--
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
Qiwen wrote:
I have a problem about field nesting.
// have a bookmark "test"
{SET "test" "14" }
//want to get the 14th item's name
{INCLUDETEXT "config1.xml" \c XML \x //item[{"test"}]/name \*
MERGEFORMAT }
The result is null. I think it's a problem of field nesting. Any idea?
I write like this. It works well.
{INCLUDETEXT "config1.xml" \c XML \x //item[14]/name \* MERGEFORMAT }
Any help will be greatly appreciated
Qiwen