jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eder, Johann" <j...@manz.at>
Subject Recursive Node Typs
Date Mon, 01 Aug 2011 14:24:48 GMT
Hi,

Is it expected to be possible to create circular node type dependencies?

Example:
Node type A has B nodes, and node type B has A nodes.

In the NodeTypDef I have ul and li elements. ul can be a child of li and li can be a child
of ul.

...
<jcr = 'http://www.jcp.org/jcr/1.0'>
<sys = 'http://onlaw.at/sys'>
<default =''>

[sys:base] >  nt:base, mix:referenceable

[default:li] > sys:base
orderable mixin
+ * (nt:unstructured)=nt:unstructured multiple

[default:ul] > sys:base
orderable
- *
+ default:li (default:li)=default:li multiple

[default:ol] > sys:base
orderable
- *
+ default:li (default:li)=default:li multiple

[sys:Text] > sys:base
- *
+ default:ol (default:ol)=default:ol multiple
+ default:ul (default:ul)=default:ul multiple
+ default:table (default:table)=default:table multiple
+ * (default:p)=default:p multiple

...

If yes, how to do it?

Thanks for any hints.

Johann


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message