Re: xf:select to store as many elements as values selected
Jean-Baptiste Pressac <[email protected]> Tue, 25 Feb 2014 17:23:19 +0100
| Newsgroups | gmane.comp.web.xforms |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------000500060107020904040709
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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
> <[email protected]> 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,
>
>
--------------000500060107020904040709
Content-Type: text/x-vcard; charset=utf-8;
name="Jean-Baptiste_Pressac.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="Jean-Baptiste_Pressac.vcf"
YmVnaW46dmNhcmQNCmZuOkplYW4tQmFwdGlzdGUgUHJlc3NhYw0KbjpQcmVzc2FjO0plYW4t
QmFwdGlzdGUNCm9yZzpDZW50cmUgZGUgcmVjaGVyY2hlIGJyZXRvbm5lIGV0IGNlbHRpcXVl
IChDUkJDKQ0KYWRyOkNTIDkzODM3OzsyMCBydWUgRHVxdWVzbmU7QnJlc3QgY2VkZXggMzs7
MjkyMzg7RnJhbmNlDQplbWFpbDtpbnRlcm5ldDpqZWFuLWJhcHRpc3RlLnByZXNzYWNAdW5p
di1icmVzdC5mcg0KdGl0bGU7cXVvdGVkLXByaW50YWJsZTpUcmFpdGVtZW50IGV0IGFuYWx5
c2UgZGUgYmFzZXMgZGUgZG9ubj1DMz1BOWVzDQp0ZWw7d29yazorMzMgKDApMiA5OCAwMSA2
OCA5NQ0KdGVsO2ZheDorMzMgKDApMiA5OCAwMSA2MyA5Mw0Kbm90ZTtxdW90ZWQtcHJpbnRh
YmxlOkJ1cmVhdSBDMzEwPTBEPTBBPQ0KCT0wRD0wQT0NCglodHRwczovL3R3aXR0ZXIuY29t
L0NSQkNCcmVzdA0KdXJsOmh0dHA6Ly93d3cudW5pdi1icmVzdC5mci9jcmJjL21lbnUvTWVt
YnJlcytkdStsYWJvcmF0b2lyZS9QZXJzb25uZWxfYWRtaW5pc3RyYXRpZl9ldF90ZWNobmlx
dWUvSmVhbi1CYXB0aXN0ZV9QcmVzc2FjDQp2ZXJzaW9uOjIuMQ0KZW5kOnZjYXJkDQoNCg==
--------------000500060107020904040709--