
On Tue, 2012-01-24 at 21:03 +0100, Piotr Oh wrote:
2012/1/24 Adam Tauno Williams <awilliam@whitemice.org> What you are describing is a classic use case of a workflow engine; numerous of which exist. Perhaps you should investigate using such a tool. Of course they are off-topic for an LXML list. Ok, I am aware that there are many ways to do this, but why not with lxml and some python code?
You can certainly do that; it just seems like a lot of plumbing code for something that is already 'done'. And you end up writing the code over and over again.
Dealing with another high level technology like BPML and whatever else it requires is just too much for me. Most allow you to select data from an RDBMS or import from some type of file [flat, delimited, etc...] to XML. Then you can use XSLT, XPath, what-not, and export the data to a file or insert/upsert/update the data into an RDBMS.
And what you are talking about here is free, opensource etc?
Numerous of them. I used to use BIE, which is Java, but have ported most of my routes over the OpenGrouwpare Coils [which contains a workflow engine; and I'm the primary developer of this Python based project]. <https://sourceforge.net/projects/coils/> It depends on what you want to do. If you just need a script Python is your answer. I like the ability to submit data for processing, getting error reports, being able to go back and look at how something was processed, how long it took, etc... -- System & Network Administrator [ LPI & NCLA ] <http://www.whitemiceconsulting.com> OpenGroupware Developer <http://www.opengroupware.us> Adam Tauno Williams