[opencms-dev] Mapping attributes
Alessandro Magnolo
alessandro.magnolo at gmail.com
Thu Jun 22 13:21:27 CEST 2006
Anybody found a solution to the old problem of mapping one XSD element
to two different attributes (e.g. Title and NavText), as described
below ?
Thank you,
Alessandro Magnolo
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>
>
>
More information about the opencms-dev
mailing list