dcsimg
What is the difference between XML Parsing and XML...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Saravanan_Jayachandran
Posted On:   Friday, March 2, 2001 08:11 AM

What is the difference between XML Parsing and XML Processing?

Re: What is the difference between XML Parsing and XML...

Posted By:   AlessandroA_Garbagnati  
Posted On:   Monday, April 9, 2001 12:13 PM

Hi,

When you talk about "parsing" you are just talking of an operation that, for example, breaks down a text into recognized strings of characters for further analysis. With the previous version of JAXP 1.0.x (Java API for XML Parsing), in fact, you were only able to open and parse an XML document.

When you talk about "processing", you are talking of operations that will allow you not just to parse, but to apply some kind of transformation to the text. Sun's has changed the name of their API to Java Api for XML Processing, maintaining the same acronym JAXP. The reason of this change is because the new API contains not only the javax.xml.parser, but also the javax.xml.transform package, that are used for, by Sun definition, "[...]processing transformation instructions, and performing a transformation
from source to result.[...]"
.

If you need further information, take a look at the Section 4 of JAXP 1.1 Specification
About | Sitemap | Contact