<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=743321614-08022010><FONT face=Arial size=2>Hi
</FONT></SPAN></DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial size=2>I'm
working with categories, and in my XSD I would like to map
the multiple values of a re-occuring category element to a single
property. (<SPAN class=743321614-08022010><FONT face=Arial size=2>I know this
question has been asked before, but searching didn't provide any
good answer.)</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial size=2>If I put e.g.:
</FONT></SPAN></DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=743321614-08022010> <FONT face=Arial
size=2><xsd:element name="Category" type="OpenCmsString" minOccurs="0"
maxOccurs="10" /></FONT></SPAN></DIV>
<DIV><SPAN class=743321614-08022010> <FONT face=Arial
size=2>...</FONT></SPAN></DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial size=2>
<mapping element="Category" mapto="property:collector.categories" />
</FONT></SPAN></DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial size=2>then only the first
category is mapped to the property "collector.categories".</FONT></SPAN></DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=743321614-08022010><SPAN class=743321614-08022010><FONT
face=Arial size=2>The OpenCms 6.0.2 release notes say "XML content mappings can
map multiple occurrences of a value to a property list value". That sounds about
right for what I'm looking for, but how do I configure this in my
XSD?</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial size=2>Best
regards,</FONT></SPAN></DIV>
<DIV><SPAN class=743321614-08022010><FONT face=Arial
size=2>Paul</FONT></SPAN></DIV></BODY></HTML>