[opencms-dev] Mapping attributes

Borja Riesgo Juan briesgo at sgi.es
Mon Dec 5 11:20:22 CET 2005


 

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>

 


______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.
______________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051205/01e854a9/attachment.html>


More information about the opencms-dev mailing list