We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Running multiple ProXML threads
Page Index Toggle Pages: 1
Running multiple ProXML threads (Read 280 times)
Running multiple ProXML threads
Feb 11th, 2009, 5:39am
 
I'm using ProXML to parse incoming data from various APIs.  For my current project, I need to pull in two data feeds at the same time, and send their outputs to different objects.

How can I tell XMLElement A to send its output over here, and XMLElement B to send its output over there?

The challenge, as I see it, is that anytime an XML file is pulled, xmlEvent() is called, so the requests have to be sent sequentially.  I would love to be able to specify xmlEvent(URL, secondaryCondition), but xmlEvent() takes only the one value.

Does this make sense?  Your help would be greatly appreciated.  Thanks!
Page Index Toggle Pages: 1