Best for Complex XML Types

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

Best for Complex XML Types

Randy Smith-9
Quick question. I have a need for implementing a complex xml schema in
Orbeon.  I would like to use Form Builder but to date I don't believe
Form Builder supports this. You can import a schema but it will only
handle simple types. Is that still true? It could be that I could use
XBL (not sure how to do this??) and Form Runner to do this but I'm not
sure if it handles complex types. I believe I can go straight XForms to
do this but I might not have access to all the nice controls available
in FB & FR.

So, what is the best direction to implement the complex types?
Thanks much,
Randy



--
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: Best for Complex XML Types

Erik Bruchez
Administrator
Depends what complex types support you need. The entire schema is used  
by the XForms engine to validate the data

-Erik

On Apr 7, 2009, at 8:25 AM, Randy Smith wrote:

> Quick question. I have a need for implementing a complex xml schema  
> in Orbeon.  I would like to use Form Builder but to date I don't  
> believe Form Builder supports this. You can import a schema but it  
> will only handle simple types. Is that still true? It could be that  
> I could use XBL (not sure how to do this??) and Form Runner to do  
> this but I'm not sure if it handles complex types. I believe I can  
> go straight XForms to do this but I might not have access to all the  
> nice controls available in FB & FR.
>
> So, what is the best direction to implement the complex types?
> Thanks much,
> Randy
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Best for Complex XML Types

Randy Smith-9
Erik,
I need something like:
    DocRef
       DocID
       Link
       Author
          Phone
          Address
             Street
             Zip
             State
In other words about ~ 4 or 5 levels deep.
1. My understanding is that currently FB will not handle a complex
parent child schema to this level. Correct?
2. Will FR with the XBL controls handle this?
3. I believe a standard XForm would handle this and supports a schema
that has complex elements.
Randy

Erik Bruchez wrote:

> Depends what complex types support you need. The entire schema is used
> by the XForms engine to validate the data
>
> -Erik
>
> On Apr 7, 2009, at 8:25 AM, Randy Smith wrote:
>
>> Quick question. I have a need for implementing a complex xml schema
>> in Orbeon.  I would like to use Form Builder but to date I don't
>> believe Form Builder supports this. You can import a schema but it
>> will only handle simple types. Is that still true? It could be that I
>> could use XBL (not sure how to do this??) and Form Runner to do this
>> but I'm not sure if it handles complex types. I believe I can go
>> straight XForms to do this but I might not have access to all the
>> nice controls available in FB & FR.
>>
>> So, what is the best direction to implement the complex types?
>> Thanks much,
>> Randy
>>
>>
>> --
>> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Best for Complex XML Types

Erik Bruchez
Administrator
> Erik,

> I need something like:
>   DocRef
>      DocID
>      Link
>      Author
>         Phone
>         Address
>            Street
>            Zip
>            State
> In other words about ~ 4 or 5 levels deep.
> 1. My understanding is that currently FB will not handle a complex  
> parent child schema to this level. Correct?
Correct.

> 2. Will FR with the XBL controls handle this?

With Form Runner, you can decide how your data looks like, and you  
bind your controls to data yourself, so yes.

> 3. I believe a standard XForm would handle this and supports a  
> schema that has complex elements.

Depends what you mean by "support".

1. XForms performs data validation with XML schema. This consists in  
just running a schema validator on the data.
2. The data can be any XML document you want. So you are free to make  
your data look like something your XML schema accepts.

-Erik

--
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