write processor output to a file on disk

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

write processor output to a file on disk

James Liang
Hi all,

I am building a database tool.  I am using xforms to capture the user
inputs.  My plan is to than use the xslt processor to generate the sql
scripts and save the sql script to a file on disk.

Is there a way to do this?  Should I write a java processor that write
the file to disk?

Thanks,
James


--
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: write processor output to a file on disk

fl.schmitt(ops-users)
James,

> I am building a database tool.  I am using xforms to capture the user
> inputs.  My plan is to than use the xslt processor to generate the sql
> scripts and save the sql script to a file on disk.
>
> Is there a way to do this?  Should I write a java processor that write
> the file to disk?

I think the file serializer can do this:
http://wiki.orbeon.com/forms/doc/developer-guide/processors-other-serializers#TOC-File-serializer

Regarding SQL: Using the SQL processor, you can issue the sql database
operations from within Orbeon, so you don't have to write the sql
script on disc.

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: write processor output to a file on disk

James Liang
Thanks Florian.

-James

On Sun, Jun 5, 2011 at 12:45 AM, Florian Schmitt
<[hidden email]> wrote:

> James,
>
>> I am building a database tool.  I am using xforms to capture the user
>> inputs.  My plan is to than use the xslt processor to generate the sql
>> scripts and save the sql script to a file on disk.
>>
>> Is there a way to do this?  Should I write a java processor that write
>> the file to disk?
>
> I think the file serializer can do this:
> http://wiki.orbeon.com/forms/doc/developer-guide/processors-other-serializers#TOC-File-serializer
>
> Regarding SQL: Using the SQL processor, you can issue the sql database
> operations from within Orbeon, so you don't have to write the sql
> script on disc.
>
> 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
>
>


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