The XML item that holds this data is the title attribute on each photo element. The XPath expression needed to refer to, say, the title of the third photo would be:
instance('inst-rs')/photos/photo[3]/@titleHowever, when we place controls into a repeat template, their XPath expressions are evaluated one at a time, in the context of each of the items in the list. So to show the title of each of the photos in the list, we need only do this:
<xf:repeat nodeset="instance('inst-rs')/photos/photo">
[<xf:output ref="@title" />]
</xf:repeat>Refresh the form, and try searching for something--you should see a list of image titles:


Recent comments
7 weeks 3 days ago
9 weeks 2 days ago
16 weeks 2 days ago
40 weeks 4 hours ago
49 weeks 4 days ago
1 year 48 weeks ago
1 year 48 weeks ago
2 years 1 day ago
2 years 1 week ago
2 years 1 week ago