Re: Get the values of an element and combine them
Erik Bruchez <[email protected]> Thu, 20 Feb 2014 10:06:00 -0800
| Newsgroups | gmane.comp.web.xforms |
|---|---|
| Message-ID | <CAAc0PEWb8uZ_Dtg-5a4=qETu-F5reV-MDSjbsoOCKDOru3sutw@mail.gmail.com> |
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 <[email protected]> wrote: > Hello, > I would like to use Xform to edit the following element : > <dcterms:spatial xsi:type=3D"dcterms:Point">east=3D456; > north=3D123;</dcterms:spatial> > > I could use : > <xf:input ref=3D"dcterms:spatial[@xsi:type=3D'dcterms:Point']" > class=3D"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=E9es > 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 >