hi norman, On Mon, Jun 28, 2010 at 11:49 AM, Norman Maurer <[email protected]> wrote: > Hi Bruno, > > thx for the reply.. But this is for a node type.. I was lookin for a > possibility todo it in a mixin type. Is this possible too ?
no. if the node's node type allows same name siblings (e.g. nt:unstructured), you can't disallow same name siblings by assigning a custom mixin type. that's because a mixin's property and child node definitions don't override existing definitions of a node's primary node type, they're just aggregated. cheers stefan > > > Thx, > Norman > > > 2010/6/28 bruno coelho <[email protected]>: >> hi, >> >> you can disallo SNS like this: >> >> <xNs = 'http://www.yyyyy.xx/xNS/1.0'> >> [xNs:nosamenamesiblings] > mix:referenceable, mix:lastModified, >> mix:language >> orderable >> - * (UNDEFINED) multiple >> - * (UNDEFINED) >> + * (nt:base) = xNs:nosamenamesiblings VERSION >> >> this way you have a new type of node that uses several mixins and child node >> can be SNS. >> >> >> >> best regards, >> >> bruno coelho >> >> >> On Sun, Jun 27, 2010 at 12:39, Norman Maurer <[email protected]> wrote: >> >>> Hi all, >>> >>> Is it possible to disallow same name silbing within a node ? And if so >>> is it possible with a "custom" mixin type ? I would like todo it via >>> CND, but not found the right way. I thought it would be something >>> like: >>> >>> - * (UNDEFINED) protected sns ? >>> >>> but this seems to not work.. >>> >>> Thx, >>> Norman >>> >> >
