Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Advantage of using XSLT over programatically manipulating XML thru DOM?

 
Jerry Young
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to XSLT, but have done a lot using SAAJ stuff and found SAAJ (JAXP etc.) actually really easy to use.


So why XSLT? your advice is welcome.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Decoupling your logic from presentation is a start. Also, since XSLT is an abstraction at this point, it decreases the complexity of your code. If you need to do something that XSLT does, you'd pretty much have to duplicate XSLT's feature set -- not much fun in my book.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jimmy Carter,

Welcome to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

Thanks Pardner! Hope to see you 'round the Ranch!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic