Skip to Content
0
Former Member
Nov 27, 2008 at 11:58 AM

Cannot select the elements of second level node

20 Views

Hello,

I have a context like:

Document (cardinality 1-1)

files (cardinality (0-n)

fileKeyWord (cardinality (0-n)

searchText (element)

I cannot get all searchText elements from the selected files element. If I get the currentFilesElement, I can have all atributes corresponding to the selected files node. But If I try to have the corresponding searchtext of the files element by calling in a for loop

wdContext.nodeFileKeyWord().getFileKeyWordElementAt(i).getSearchText(),

-> I have either all the searchtext elements from all files elements or nothing !!

Is there is a bug or I don't call the right function

Thanks

Quentin