W3C home > Mailing lists > Public > www-forms@w3.org > February 2014

Re: Get the values of an element and combine them

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Thu, 20 Feb 2014 10:06:00 -0800
Message-ID: <CAAc0PEWb8uZ_Dtg-5a4=qETu-F5reV-MDSjbsoOCKDOru3sutw@mail.gmail.com>
To: Jean-Baptiste Pressac <Jean-Baptiste.Pressac@univ-brest.fr>
Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>, "www-forms@w3.org" <www-forms@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:26 UTC