Hi Madhuri,
Are startindex and number Orbeon Forms extensions, because I don't see them
As I understand, repeat works over the whole nodeset, however, it is possible
to use xpath 2.0 in the expression, e.g,
nodeset="/employeelist/employee[1]"
nodeset=" /employeelist/employee[position() = xs:integer(/some/start/xpath) to xs:integer(/some/end/xpath)]
HTH,
Hank
On Jul 17, 2009, at 11:44 AM, Madhuri Deodhar wrote:
Hello,
I have a list of employees in my instance. I am trying to display on employee at a time using repeat element and its startIndex and number attributes. Here is my code
<xforms:repeat nodeset="/employeelist/employee" startIndex="1" number="1">
I am expecting the code to display only one employee, instead it is displaying entire list. Any suggestions?
Madhuri
--
You receive this message as a subscriber of the
[hidden email] mailing list.
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws