Re: for-each loop issue in xforms.

Posted by Erik Bruchez-3 on
URL: https://discuss.orbeon.com/for-each-loop-issue-in-xforms-tp1472983p1473379.html

Laxmi,

From XForms, you should instead use xforms:repeat.

-Erik

On Mon, Feb 8, 2010 at 6:44 AM, Laxmi Narayana <[hidden email]> wrote:

>
> Hi All,
>
> By defalut xsl:for-each  taking data from main-instance in my xforms.I want
> to take data from template-instance.
>
> If i write for-each loop like below, it thorws a exception.
>
>  <xsl:for-each select="instance('template-instance')//records/record">
> <xsl:for-each>
>
> How to write for-each which gets data from template-instance?
> Pl help me.
>
>
>
> --
> 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
>
>


--
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