Login  Register

Re: Problem with repeat element

Posted by Hank Ratzesberger-2 on Mar 03, 2011; 5:48pm
URL: https://discuss.orbeon.com/Problem-with-repeat-element-tp3333676p3333908.html

Hi Jimmy,

I think everyone has found XForms a bit of a journey,
and an interesting one.

I think what you are seeing is the XPath context, which can be
set by <group ref="..."> and is set to the current item of the
select within a repeat.

To reference data outside this context, you must use the full
XML path to the data, which often must include the particular
instance:

<output ref="instance('some-other-inst')/node"/>

--Hank


On Mar 3, 2011, at 8:33 AM, Jimmy wrote:

> Hey guys n' gals!
>
> I'm relatively new to xforms and Orbeon and have pondered the same problem
> now for a week or so.
> I'm uncertain if I fully understand how 'instance' functions and am working
> on a form with a repeat element.
> The problem I'm experiencing is a little tricky but basically whenever I get
> the repeat element to work all other elements not included within the repeat
> tag stops working and vice versa.
>
> I've attached the file..
>
> Best regards
>
> Jimmy
>
> http://orbeon-forms-ops-users.24843.n4.nabble.com/file/n3333676/view.xhtml
> view.xhtml
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Problem-with-repeat-element-tp3333676p3333676.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
> --
> 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
Hank Ratzesberger
NEES@UCSB
Earth Research Institute
6707 Ellison Hall
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