Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to implement multithreaded parsing xml

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-05-2009
Member
 
Join Date: May 2009
Posts: 18
How to implement multithreaded parsing xml
  

I can organize a multithreaded parsing xml document. For example by clicking on the button, I called two classes. One gets the desired site. The second is waiting for some time, gets the index of this site and it reads the correct piece of xml document.

Reply With Quote
  #2  
Old 08-05-2009
Member
 
Join Date: Dec 2008
Posts: 63
Re: How to implement multithreaded parsing xml

If you use the SAX parser you can for each tag to use a separate thread ... but, again, then collect all the information in one model ... and unlikely as it would expedite the process.
Reply With Quote
  #3  
Old 08-05-2009
Member
 
Join Date: Dec 2008
Posts: 99
Re: How to implement multithreaded parsing xml

XML elements have to be properly nested; in particular, the opening and closing tags of different elements must not overlap. In other words, an element's opening and end tags must reside in the same parent.The document is also derived from a full copy of each individual Record element from the input file. So that object is distinct for each task, and you have no problem with synchronization there either.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to implement multithreaded parsing xml"
Thread Thread Starter Forum Replies Last Post
How to use XML Parsing using PHP LasitMalinga Software Development 4 05-10-2011 02:33 PM
Stop a multithreaded server Remedy Software Development 5 02-02-2010 05:46 AM
Is Age of Empires a multithreaded game Dhruv Video Games 3 18-06-2009 09:53 AM
Using multithreaded with Robocopy on Windows 7 and Windows Server 2008 R2 Jacek01 Tips & Tweaks 0 09-05-2009 12:48 PM
Parsing in C++ Elijah Software Development 4 20-04-2009 11:39 PM


All times are GMT +5.5. The time now is 11:43 PM.