In my answer to another post in SO (here: SharePoint 2007, how to check if a folder exists in a document library) I had to parse an XML document with structure:
D:multistatus
|--D:response
|----D:propstat
|-------D:prop
|----------D:displayname
|----------D:isFolder
Is it possible to construct an XPath statement that selects a set of such D:response elements that contain D:displayname equal to "someName" and D:isFolder is "t"?
I know how to do it if I select all D:response elements and then loop through the result set, but I believe XPath is powerful enough to do that in more delicate way.
1 Answer