dcsimg
Why use jaxp.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gaurav_Malik
Posted On:   Thursday, October 11, 2001 09:47 PM

Why to use jaxp .Can't we directly use XML and XSL for transformation .

Re: Why use jaxp.

Posted By:   Bozidar_Dangubic  
Posted On:   Wednesday, October 17, 2001 06:03 AM

yes, you could in theory. but say that you use xerces for your parsing/transformation... and xerces ceases to exit. the stop upgrading it, etc... the you are stuck. your code only works with xerces and you need a complete re-write to release next version of your application. jaxp defines how xml should be processed from java code. by using jaxp, you are ensuring yourself that you can plug any xml parser into your code and not have to alter much at all. it is one of the better examples of "program to the interface, not to the implementation."
About | Sitemap | Contact