W3C home > Mailing lists > Public > public-xformsusers@w3.org > March 2014

Access to arguments

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Wed, 19 Mar 2014 16:12:10 +0100
To: "Forms WG" <public-forms@w3.org>, "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.xcy5ukb8smjzpq@steven-ux21a>
I have a need to access the arguments given to a the URL that causes an  
XForm to load.


One option would be a pseudo-instance:

	<setvalue ref="bar" value="instance('arguments')/name)" />

but I imagine it would be easier to implement a function:

	<setvalue ref="bar" value="argument('name')" />

Any opinions?

Steven Pemberton
Received on Wednesday, 19 March 2014 15:12:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:43 UTC