This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Processor Vs Parser