Hi all,
I'm struggling a bit with a data filter for displaying items in a drop-down list.
I have a repeating field called "Hardware" as you can see in the middle of the following XPath:
/my:myFields/my:Hardware/my:HType
HType and HVersion are non-repeating elements in my:Hardware.
I have a data connection to a Sharepoint list and I want the drop down list for HVersion to only show version numbers where @Name (on the list) is equal to HType. I did this:
../@Name = xdXDocument:get-DOM()/my:myFields/my:Hardware/my:HType
What this gives me is a filtered list of all the version numbers for the HType children of every Hardware. I just want the HType child in the same Hardware entry as the HVersion I'm currently looking at. Can anyone help me to adhust my code? Is it possible? I have tried ../my:HType and just my:HType but these do not work.
Thanks all.