Thread: Field Nesting
View Single Post
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Qiwen Qiwen is offline
external usenet poster
 
Posts: 7
Default Field Nesting

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