cancel
Showing results for 
Search instead for 
Did you mean: 
Nintex Newbie

XPath Extract value from path sibling

Hi, I am calling the SharePoint API in Nintex. I am able to Parse the resulting XML with this XPATH

//d:Cells/d:element.  Below is a small segment of what is returned. My task is to return ONLY the text from <d:Value> where the sibling <d:Key> = 'Path'.

 

The eventual purpose is to extract the actual paths to found documents into a Nintex Collection and then push these onto a List. 

 

I am hoping that I am just dumb and that I am missing something really basic. Can anyone help or advise me please?

 

<d:element m:type="SP.KeyValue">
<d:Key>Path</d:Key>
<d:Value>http://arsharepoint/AR/IT/team/Phones/M2008 Handsfree Basic.docx</d:Value>
<d:ValueType>Edm.String</d:ValueType>
</d:element>

Labels: (1)
Tags (1)
0 Kudos
Reply
2 Replies
Highlighted
Nintex Newbie

Re: XPath Extract value from path sibling

Added a tag for XPath
0 Kudos
Reply
Highlighted
Nintex Newbie

Re: XPath Extract value from path sibling

All, I figured it out. I was just being dumb :-() This works for me. 

 

//d:Cells/d:element[d:Key='Path']/d:Value

 

There may be other, better solutions of course.

0 Kudos
Reply