Nesting

Q

Qiwen

I have a problem about field nesting.

// have a bookmark "test"
{ SET "test" "14" }

// want to get the name of the 14th item
{INCLUDETEXT "config1.xml" \c XML \x //item[{"test"}]/name \*MERGEFORMAT}

The result is null, I think that's the problem about field nesting.
When I write like that, it works well.
{INCLUDETEXT "config1.xml" \c XML \x //item[14]/name \*MERGEFORMAT}

Any help will be greatly appreciated.

Qiwen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top