Re: [Xsltforms-support] xforms context function
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2010-02-02 20:20:50
|
Christopher, > It appears that the context function does not work correctly. Here is sample code to reproduce the issue: > > <xf:repeat id="books" nodeset="instance('library')/books/book"> > <xf:trigger appearance="minimal"> > <xf:label> > <xf:output ref="title"/> > </xf:label> > <xf:setvalue ref="instance('customer')/book/title" value="context()/title" ev:event="DOMActivate"/> > </xf:trigger> > </xf:repeat> > > It appears that the context function is returning a reference to the instance('customer')/book/title node, not the instance('library')/books[index('books')]/book node as expected. > Can you please provide a full test case ? It would surely accelerate debugging. Thanks! -Alain |