[opencms-dev] Mapping attributes

Corsin Camichel cocaman at gmail.com
Mon Dec 12 15:54:51 CET 2005


Hay anybody found a solution for this problem? I am having the same problem
right now (property:dateexpired & attribute:dateexpired).

Thank you in advance.

On 12/5/05, Borja Riesgo Juan <briesgo at sgi.es> wrote:
>
>
>
> Hello,
>
>  I'm writing a dtd and i would like to map one element to two properties,
> how can i do that?
>
> Example:
>  I've got the elment concept that must be matched to the properties:
> NavText and Title. How can i do that? I cannot write two mapping lines
> because intenally it´s a java.util.Map
>
>
>
> <xsd:element name="Concept" type="OpenCmsString" minOccurs="1" maxOccurs=
> "1"/>
>
> <mappings>
>
>  <mapping element="Concept" mapto="property:Title" />
>
> <mapping element="Concept" mapto="property:NavText" />
>
> </mappings>
>


--
Corsin Camichel
cocaman at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20051212/56853068/attachment.htm>


More information about the opencms-dev mailing list