Re: Get the values of an element and combine them

Jean-Baptiste,

Some implementations have a component system allowing you do do that
kind of things, but it's not part of standard XForms.

In plain XForms, an input field can only bind to a single element or
attribute and edit its character content.

Regards,

-Erik

On Thu, Feb 20, 2014 at 7:13 AM, Jean-Baptiste Pressac
<Jean-Baptiste.Pressac@univ-brest.fr> wrote:
> Hello,
> I would like to use Xform to edit the following element :
> <dcterms:spatial xsi:type="dcterms:Point">east=456;
> north=123;</dcterms:spatial>
>
> I could use :
> <xf:input ref="dcterms:spatial[@xsi:type='dcterms:Point']"
> class="dcterms:spatial">
>     <xf:label>Latitude / Longitude:</xf:label>
> </xf:input>
>
> But is there a way to display two inputs to let the user enter the east
> value and the north value separately ?
>
> Thanks,
>
> --
> Jean-Baptiste Pressac
> Traitement et analyse de bases de données
> Centre de Recherche Bretonne et Celtique
> UMS 3554
> 20 rue Duquesne
> CS 93837
> 29238 Brest cedex 3
>
> tel : +33 (0)2 98 01 68 95
> fax : +33 (0)2 98 01 63 93
>

Received on Thursday, 20 February 2014 18:06:49 UTC