Manipulating RxPath for List purposes
Posted: Wed May 01, 2013 4:23 pm
Sorry to bother you all again, but this is sort of linked to problem I posted (and sort of resolved myself with a little help from gannias) yesterday: Here
Again, it's to do with all of the images that I have floating around in a single root folders in my repository, although these all appear on 'different' pages.
Therefore, the only way to distinguish between the images is through the persons name associated with it; the RxPaths for the images look something like this:
I've set up a list with person1, 2, 3, 4, etc added.
Is there any way to loop through my list, using these values to determine which picture to look at?
I'm basically trying to loop through a repository folder based on RxPath's, and I have no idea how to break it down in such a way that it's efficient.
Any and all help greatly appreciated...
Cheers.
Again, it's to do with all of the images that I have floating around in a single root folders in my repository, although these all appear on 'different' pages.
Therefore, the only way to distinguish between the images is through the persons name associated with it; the RxPaths for the images look something like this:
Code: Select all
.//div[#'person1']/div/img[1]
.//div[#'person2']/div/img[1]
.//div[#'person3']/div/img[1]
.//div[#'person4']/div/img[1]
etc.
Is there any way to loop through my list, using these values to determine which picture to look at?
I'm basically trying to loop through a repository folder based on RxPath's, and I have no idea how to break it down in such a way that it's efficient.
Any and all help greatly appreciated...
Cheers.