Login  Register

Re: Re: Re: xxforms:variable does not work

Posted by Hank Ratzesberger-2 on Apr 12, 2011; 9:05pm
URL: https://discuss.orbeon.com/xxforms-variable-does-not-work-tp3444333p3445696.html


Hi,

I'm writing from a "klunky" web email program.  Perhaps
I missed the source to your example.

I have use xxforms:variable in xforms:repeat and
other contexts for nodeset an atomic values, so

To "paraphrase,"

  <xforms:output value="instance('value-5"/pathto[thing=$value-1"/>

Of course, output requires an atomic/text value.

Consider posting your code to pastie.org or gist.github.org

Thank you,
Hank

Quoting "inanda.menezes" <[hidden email]>:

> Hi, but I have a different situation.
>
> I have the following instances:
>
> value-1
> value-5
>
> I want to get a value from the first instance and use this value inside my
> xpath expression:
>
>  //Get the value 'value-1', it is working.
>
>   //It should print 'value-5'. But it does not work.
>
> I also tried to print using the ref attribute:
>  // It also does not work.
>
> I found a post about it, but it did not work. I don't know if it's something
> with this version 3.9 or if it is my mistake.
> http://orbeon-forms-ops-users.24843.n4.nabble.com/xxforms-variable-inside-xPath-declaration-td2399957.html
>
>
> --
> View this message in context:  
> http://orbeon-forms-ops-users.24843.n4.nabble.com/xxforms-variable-does-not-work-tp3444333p3445448.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>


--
Hank Ratzesberger
[hidden email]



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