[opencms-dev] Mapping multiple nested elements to a propertyList

Diogo Rezende Brant diogo.brant at squadra.com.br
Mon Nov 3 11:12:25 CET 2014


Hi,

I'm trying to map multiple dates from a nested elements using a propertyList.
In my outer xsd i have:
<xsd:element name="BlocoDia" type="OpenCmsBlocoDia" minOccurs="1" maxOccurs="unbounded" />
And mapping:
<mapping element="BlocoDia/DataInicio" mapto="propertyList:collector.date" />

In my inner xsd:
<xsd:element name="DataInicio" type="OpenCmsString" />
And mapping:
<mapping element="DataInicio" mapto="propertyList:collector.date" />

The problem is only one element is mapped. How can I map every element?

Thanks!



Att,

Diogo Rezende Brant
Analista Desenvolvedor

Squadra | Tecnologia inovando o seu negócio
Belo Horizonte - Minas Gerais

Geral: 55 (31) 2104.7800 - R 7847
Cel: 55 (31) 9776-0366
___________________________________________

E-mail: diogo.brant at squadra.com.br<mailto:diogo.brant at squadra.com.br>

www.squadra.com.br<http://emrede.squadra.com.br/> | Certificada - CMMI

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20141103/a1d009a3/attachment.htm>


More information about the opencms-dev mailing list