smiley22432
New Member
I have this following XML:\[code\]<Item type="Workflow Process"> <id>72F2AEEE86644D16ADE4B8FCEF68638A</id> <keyed_name>PR-100001</keyed_name> <Relationships> <Item type="Workflow Process Activity"> <id>818175D7A6204275B9EAC45517FFC0DE</id> <related_id> <Item type="Activity"> <id>E0B712EB12914FBD8B5AEDCBDB3F313F</id> <keyed_name>Start</keyed_name> </Item> </related_id> </Item> </Relationships></Item>\[/code\]Note: The above XML structure is repeated in my XML file with different values of \[code\]<id>\[/code\] and \[code\]<keyed_name>\[/code\] I have \[code\]<id>\[/code\] of \[code\]<Item type="Activity">\[/code\], I want to know the \[code\]<id>\[/code\] of parent node \[code\]<Item type="Workflow Process">\[/code\] to which that \[code\]Activity\[/code\]belongs.What will be the XPath to achieve it?