Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using SAXON for xslt versus JDK 1.4/Jaxp

 
Ian Stone
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When does it make sense to use a dedicated xslt processor/parser like
Saxon as opposed to using the transform package of Jaxp in JDK 1.4.x
for XSLT transformations?

Which xml processing engine is built into JDK 1.4 ? Is it crimson ?

~IanS
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JDK1.4 uses XALAN from Apache, which is better enough for xslt processing.
JAXP only an xml api nor parser nor transformer.
Its was said here that jdk1.4 uses old xalan, so make sure you use the latest one.
You can decide which one choose by checking this comparison chart from Sun.

Someone please correct me if i am wrong here.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JDK1.4 uses XALAN from Apache, which is better enough for xslt processing.
JAXP only an xml api nor parser nor transformer.
Its was said here that jdk1.4 uses old xalan, so make sure you use the latest one.
You can decide which one choose by checking this comparison chart from Sun.

Someone please correct me if i am wrong here.
 
Ian Stone
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the info Balaji.

The Sun article looks very useful also.

--thx! ~IanS
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic