wood burning stoves*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Processor Vs Parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Processor Vs Parser" Watch "Processor Vs Parser" New topic
Author

Processor Vs Parser

Deepika Joshi
Ranch Hand

Joined: Feb 24, 2009
Posts: 268
I am not sure about exact difference between XML Parser & Processor.

Any thoughts?

Thanks.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
An XML processor processes XML data to produce some kind of result, for instance HTML data.
An XML parser reads XML data, in order to "understand" it and, for instance, tell your application when an element is read, when an attribute is read etc.
Best wishes!
Deepika Joshi
Ranch Hand

Joined: Feb 24, 2009
Posts: 268
Thanks for parsing (reading) & processing (action) the query.

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hehe, you are welcome!
I should also thank you for your questions, which in turn helps me to review the material.
 
wood burning stoves
 
subject: Processor Vs Parser