Templating/subforms

Dear All,

We have some fairly complex XML documents (often deeply nested)

We often have the need to show a given element in it's own form, in a 
superform (often as a repeat) & then in a super-superform (where the 
super form is itself a repeat).

At the moment this involves a lot of cut & paste etc where instead we 
were wondering if there wads any sort of templating/subform 
technology/standard out there which would allow us to define forms at 
their lowest level and then compose superforms from those forms.

e.g. the other day a simple attribute was added to an element which 
meant changing the form for that element (it is quite a 
complex/multi-attribute element) .

This meant that there was copy and paste going on to......five other 
forms (super, super-super, super-super-super which used/showed that element.

We can do this ourselves as our engine assembles the XForms and fills in 
values etc prior to sending it to chiba for rendering into HTML however 
I do do want to go out on a limb and recreate something where there is 
an existing or standard way of doing this.

e.g. I can put in resolvable hrefs which our XForms composer can then 
use to pull in all the fragments and to ensure that all (Xforms) refs 
are locally rooted.

TIA


Adam



***********************************************************************
This  message  may  contain  confidential and  privileged  information.
If you  are not the  intended recipient  you should not  disclose, copy
or distribute information in this e-mail or take any action in reliance
on its contents.  To do so is strictly  prohibited and may be unlawful.
Please  inform  the  sender that  this  message has  gone astray before
deleting it.  Thank you.

2008 marks the 60th anniversary of the NHS.  It's an opportunity to pay
tribute to the NHS staff and volunteers who help shape the service, and
celebrate their achievements.

If you work for the NHS  and  would like  an NHSmail  email account, go
to: www.connectingforhealth.nhs.uk/nhsmail
***********************************************************************

Received on Friday, 26 September 2008 09:17:47 UTC