Recursive XForm

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Recursive XForm

Martin.Pienaar

Hi

I am relatively new to XForms and Orbeon, so forgive my ignorance 8). The
problem that I'm having is implementing a very complicated Metadata Schema
called ANZLIC. It has recursive XML entities, and I cannot think of a way to
program this type of xform. Can Orbeon support recursive entities? I was under
the impression that XForms was unable to do that at this stage.
What I mean by recursive is for example: A person can have a child, who is also
a person, who can also have a child etc...

Any help would be greatly appreciated.

Thanks,

Martin


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Recursive XForm

Erik Bruchez
Administrator
Martin,

You cannot recurse indefinitely.

You could "hardcode" a number of nested elements like xforms:repeat or  
xforms:group, if you know that practically there will be a limit to  
the nesting.

I think you should also be able to simulate that kind of nesting. By  
that I mean that you wouldn't actually infinitely nest repeats or  
groups, but have only one level, and somehow present that to the user  
as if there was a way of nesting elements indefinitely, for example  
with indentation, etc. I am being vague here but I don't have the time  
right now to elaborate.

-Erik

On Jan 8, 2009, at 1:18 PM, <[hidden email]> <[hidden email]
 > wrote:

>
> Hi
>
> I am relatively new to XForms and Orbeon, so forgive my ignorance  
> 8). The
> problem that I'm having is implementing a very complicated Metadata  
> Schema
> called ANZLIC. It has recursive XML entities, and I cannot think of  
> a way to
> program this type of xform. Can Orbeon support recursive entities? I  
> was under
> the impression that XForms was unable to do that at this stage.
> What I mean by recursive is for example: A person can have a child,  
> who is also
> a person, who can also have a child etc...
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Martin
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws