hi
Would like an alternative to using ../preceding-sibling::my:item[1]/ in Web Forms since [1] is not supported when published to Sharepoint 2007.
I'm looking to set the value of the current item element X to previous item element Y
Thanks
Rgds
Hi,
Instead of using '../preceding-sibling::my:item[1]/' you can use this XPath
'../../my:item[count(preceding-sibling::my:item) = (count(current()/../preceding-sibling::my:item) - 1)]/'
This will work in Browser forms.