JCR has a property type called REFERENCE (see sections 4.7.2, 4.9 and 6.2.5.4 of the JCR spec [1] or the javadocs of Node.setProperty(java.lang.String name, Node value) [2]). But also have a look at rule 5 of Davids Content Model Guide [3]. And also look for previous discussions of this topic on this mailing list, for example [4].
[1] http://jcp.org/en/jsr/detail?id=170 [2] http://day.com/maven/jsr170/javadocs/jcr-1.0/ [3] http://wiki.apache.org/jackrabbit/DavidsModel [4] http://markmail.org/message/76rck7bgsmnsg6cr Regards, Alex On Tue, Nov 25, 2008 at 2:54 PM, far4ever <[EMAIL PROTECTED]> wrote: > > > hi i have a node structure as bellow... > > treatment ---> complaints, diagnosis, prescription > complaints --> (contains many nodes) > diagnosis --> (contains many nodes) > prescription --> (contains many nodes) > > here i would like to have reference between nodes in each of this child > nodes (one child node in complaint should have reference to one in diagnosis > and prescription) is it possible.... > thanks in advance.. > -- > View this message in context: > http://www.nabble.com/reference-inbetween-the-nodes-tp20681516p20681556.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > > -- Alexander Klimetschek [EMAIL PROTECTED]
