cancel
Showing results for 
Search instead for 
Did you mean: 

Relationships between xml entities managed using XForms?

chrisb
Champ in-the-making
Champ in-the-making
I am trying to work out how to / if its possible to represent associations between XML entities created using XForms.

For example:

1. I create an entity A and define an .xsd for that entity so I can use an XForm to manage the data properties of an instance of A

2. I create an entity B and define an .xsd for that entity so I can use an XForm to manage the data properties of an instance of B

3. I need to express the association A "has" "one or more" B's.

Can I represent this relationships via the XSD definition for my entity A?

Thanks.
1 REPLY 1

chrisb
Champ in-the-making
Champ in-the-making
Just in case this of interest to others it seems this is possible, (and thanks to Kevin for his prompt response on this).

The Press Release in the WCM example uses exactly this feature to allow users to of the press release (PR) xform to select from a dynamically generated list of available company footers. The PR XForm uses a callout to the "get_company_footer_choices_simple_type.jsp" to present the users with a dynamically generated list of the currently available footers which the user can select one or more of.