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

Re: xf:select to store as many elements as values selected

From: Jean-Baptiste Pressac <Jean-Baptiste.Pressac@univ-brest.fr>
Date: Tue, 25 Feb 2014 17:23:19 +0100
Message-ID: <530CC377.9060101@univ-brest.fr>
To: www-forms@w3.org
Thanks ! But I have a little problem. The data I would like to edit is 
more like this :

<instance>
    <country xmlns="">
       <name>USA</name>
       <city>Las Vegas</city>
       <city>New York</city>
       <city>San Francisco</city>
    </country>
</instance>

Than this :

<instance>
    <country xmlns="">
       <name>USA</name>
       <visited>
          <city>Las Vegas</city>
          <city>New York</city>
          <city>San Francisco</city>
       </visited>
    </country>
</instance>


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

Le 24/02/2014 18:35, Steven Pemberton a écrit :
> I treat this case in my XForms tutorial here:
>
> http://www.w3.org/MarkUp/Forms/2010/xforms11-for-html-authors/part2.html#Selecting 
>
>
> Best wishes,
>
> Steven Pemberton
>
> On Thu, 20 Feb 2014 16:28:52 +0100, Jean-Baptiste Pressac 
> <Jean-Baptiste.Pressac@univ-brest.fr> wrote:
>
>> Hello,
>> An xf:select enable to get multiple values like for the olac:code
>> attribute in the following example :
>>
>> <dc:subject xsi:type="olac:linguistic-field" olac:code="dialogue
>> narrative singing"/>
>>
>> But is there a way to store the following data instead :
>>
>> <dc:subject xsi:type="olac:linguistic-field" olac:code="dialogue "/>
>> <dc:subject xsi:type="olac:linguistic-field" olac:code="narrative"/>
>> <dc:subject xsi:type="olac:linguistic-field" olac:code="singing"/>
>>
>> Thanks,
>
>


Received on Tuesday, 25 February 2014 16:23:43 UTC

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