In our implementation, we have also encountered the need for something like this, although in most cases the value can be reduced to a string. So in addition to mirroring, we also have what we call *parameters*. Those are expressed as attributes, which can be AVTs. Then we have an XPath function to access the value of a parameter passed to the component. -Erik On Wed, Nov 21, 2018 at 5:19 AM Steven Pemberton <steven.pemberton@cwi.nl> wrote: > While I am working on this, although I am charmed by the idea of > mirroring, I would like to make a point about requirements for an > embedded > XForm that I don't yet see how to do. > > One thing I did like about the earlier proposal was the ability to do > something like this: > > <control resource="graph.xml" label="positive" initial="values[. > 0]"/> > <control resource="graph.xml" label="negative" initial="values[. < > 0]"/> > > With a pure mirroring solution, only allowing a single element, I don't > yet see how to do this easily; it would be good to try and brainstorm a > way. > > Maybe with @ref and @value? (just off the top of my head). > > Steven > > On Wed, 07 Nov 2018 15:17:50 +0100, XForms Users Community Group Issue > Tracker <sysbot+tracker@w3.org> wrote: > > > ACTION-2206: Propose text for using mirroring for <control/> > > > > https://www.w3.org/2005/06/tracker/xforms/actions/2206 > > > > Assigned to: Steven Pemberton > > > > > > > > > > > > > > > >Received on Wednesday, 28 November 2018 06:27:11 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:50 UTC