• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference Xerces and Xalan  RSS feed

 
Shweta Pershad
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am not sure if this question goes here. I am unclear about the difference in Xerces and Xalan. Both these softwares seem to be required to run XML and XSLT files. Or I may be wrong... But I would appreciate some clarification.

Thanks,
Shweta
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Shweta Pershad:
I am unclear about the difference in Xerces and Xalan. Both these softwares seem to be required to run XML and XSLT files.

Xerces is an implementation of the JAXP, DOM and SAX APIs, meaning that you can use it to parse XML documents.

Xalan, on the other hand, is an implementation of the XSLT part of JAXP and can be used for processing XSL stylesheets, i.e. perform XSLT transformations. Xalan depends on having an XML parser (such as Xerces) available -- it doesn't implement the DOM/SAX APIs itself.
 
Shweta Pershad
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That makes good sense.
I would like to add another element though. I know a little bit about Eclipse also. I understand that it is an editor for Java. What else is it useful for? Also, if say I write my own XML parser, can Eclipse take over the role of Xerces also? Or would I still need Xerces. Are there any other implementations similar to Xerces?

Shweta
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guess this FAQ link on eclipse may help you to know more about it.
Originally posted by Shweta Pershad:
Are there any other implementations similar to Xerces?
Shweta

Yes this is many, more or less simillar,check here...http://www.xml.com/pub/rg/XML_Parsers
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!