Hi Emilio, hi Diego, I finally noticed that Emilio "recycled" a previous thread instead of starting a new one. Hence I'm moving your discussion in this new thread.
Thanks. On Thu, Jan 22, 2009 at 12:20 AM, <[email protected]> wrote: > > Thank you very much for your tip about using a more standard way to include > XML files. I understand that using: > > <!DOCTYPE process-definition [ > <!ENTITY view1 SYSTEM "_view_file.xml"> > ]> > > before the "process-definition", and then including "&view1;" in the > workflow should work with WEXML. Sorry, but what is WEXML ? REXML ? > However, I have tried it and have not > managed to get it working, so my question is: should it be working (and thus > it is my fault)? OK, I have taken a look at REXML documentation, then tried http://gist.github.com/50362 but it didn't work either. I should maybe try with the sax parser (Ruote uses the dom parser). I should also try with libxml, it's way better than REXML, but requires 'native' gems. > or is it something that must be implemented (and thus we > could volunteer to add)? Well, that's kind of you guys. Somehow I'm already using techniques like <subprocess ref="http://server.example.com/definitions/sub.xml" /> or <subprocess ref="path/to/sub/definitions.xml" /> The advantage is that the "include" occurs only once the flow reaches that expression. http://openwferu.rubyforge.org/expressions.html#exp_subprocess > and is there a DTD to be used/validated for OpenWFEru language? There is one for OpenWFEja at http://www.openwfe.org/flowdef_r1.7.2.xsd but for Ruote, I haven't rewritten it. As <participant ref="alpha" if="${f:alpha_should_review}" /> <subprocess ref="register-for-accounting" /> can be written <alpha if=${f:alpha_should_review}" /> <register-for-accouting /> which is more readable sometimes. But it fails validation via a DTD. Best regards, -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruote (OpenWFEru) users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
