XForms solution for importing XML

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

XForms solution for importing XML

Adrian Butnaru
Hi,
I have approximately 150 xml files with the same structure. Is Orbeon
XForms offering any solution to easu upload all and insert them inside
an xform?
Thanks for any supporting idea!

Adrian


--
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: XForms solution for importing XML

Erik Bruchez
Administrator
"Easily", I guess not. We have oxf:directory-scanner, which you could  
use to write an XPL doing this though:

   http://www.orbeon.com/ops/doc/processors-directory-scanner

-Erik

On Sep 3, 2008, at 12:27 PM, Adrian Butnaru wrote:

> Hi,
> I have approximately 150 xml files with the same structure. Is  
> Orbeon XForms offering any solution to easu upload all and insert  
> them inside an xform?
> Thanks for any supporting idea!
>
> Adrian
>
> --
> 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
|

Help(how toconnect with my local database)

Sahid Iqbal
Hi there
 Can anybody help me to how to connect with my local database through
orbeon api.
  I am just trying to run application sql address book and want to save
the data in my local databse. Please help and guide me on the same


--
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: XForms solution for importing XML

Adrian Butnaru
In reply to this post by Erik Bruchez
Erik,
I read the page but the directory scanner is reading only metadata of
the files in the directory. I need to open the files and to read field
by field for example:

<name> John </name>
 
John should be read and put into the xforms in a "name" text field for
example.

Can this be done only using existing XForms features?


A.



Erik Bruchez schreef:

> "Easily", I guess not. We have oxf:directory-scanner, which you could
> use to write an XPL doing this though:
>
>   http://www.orbeon.com/ops/doc/processors-directory-scanner
>
> -Erik
>
> On Sep 3, 2008, at 12:27 PM, Adrian Butnaru wrote:
>
>> Hi,
>> I have approximately 150 xml files with the same structure. Is Orbeon
>> XForms offering any solution to easu upload all and insert them
>> inside an xform?
>> Thanks for any supporting idea!
>>
>> Adrian
>>
>> --
>> 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: XForms solution for importing XML

fl.schmitt(ops-users)
Adrian,

> I read the page but the directory scanner is reading only metadata of
> the files in the directory. I need to open the files and to read field
> by field for example:
>
> <name> John </name>
>
> John should be read and put into the xforms in a "name" text field for
> example.
>
> Can this be done only using existing XForms features?
i think you're expecting possibilities regarding data access from xforms where a
xml database is the better tool. AFAIK eXist-db allows for "bulk uploads". Why
not just uploading all the xml files into an eXist collection (either the
embedded eXist or a standalone) and then accessing them (REST / XPath, XQuery or
anything else? This way, you have precise access to the desired xml elements and
can use them in orbeon.

hth
florian



--
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: Re: XForms solution for importing XML

Adrian Butnaru
Thanks for the tip Florian,
I will check eXist for this feature.

Florian Schmitt schreef:

> Adrian,
>
>  
>> I read the page but the directory scanner is reading only metadata of
>> the files in the directory. I need to open the files and to read field
>> by field for example:
>>
>> <name> John </name>
>>
>> John should be read and put into the xforms in a "name" text field for
>> example.
>>
>> Can this be done only using existing XForms features?
>>    
>
> i think you're expecting possibilities regarding data access from xforms where a
> xml database is the better tool. AFAIK eXist-db allows for "bulk uploads". Why
> not just uploading all the xml files into an eXist collection (either the
> embedded eXist or a standalone) and then accessing them (REST / XPath, XQuery or
> anything else? This way, you have precise access to the desired xml elements and
> can use them in orbeon.
>
> hth
> florian
>
>  


--
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: XForms solution for importing XML

Erik Bruchez
Administrator
In reply to this post by Adrian Butnaru
oxf:directory-scanner is just one step. Then you need to iterate over  
each entry, read each file with oxf:url-generator, and then process  
the content.

-Erik

On Sep 10, 2008, at 1:28 PM, Adrian Butnaru wrote:

> Erik,
> I read the page but the directory scanner is reading only metadata  
> of the files in the directory. I need to open the files and to read  
> field by field for example:
>
> <name> John </name>
> John should be read and put into the xforms in a "name" text field  
> for example.
>
> Can this be done only using existing XForms features?
>
>
> A.
>
>
>
> Erik Bruchez schreef:
>> "Easily", I guess not. We have oxf:directory-scanner, which you  
>> could use to write an XPL doing this though:
>>
>>  http://www.orbeon.com/ops/doc/processors-directory-scanner
>>
>> -Erik
>>
>> On Sep 3, 2008, at 12:27 PM, Adrian Butnaru wrote:
>>
>>> Hi,
>>> I have approximately 150 xml files with the same structure. Is  
>>> Orbeon XForms offering any solution to easu upload all and insert  
>>> them inside an xform?
>>> Thanks for any supporting idea!
>>>
>>> Adrian
>>>
>>> --
>>> 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
--
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: XForms solution for importing XML

fl.schmitt(ops-users)
In reply to this post by fl.schmitt(ops-users)
> AFAIK eXist-db allows for "bulk uploads".

here's the documentation:

http://www.exist-db.org/client.html#N10289

I'm sure this is possible using the Admin GUI Client, too.

HTH
florian



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