Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create XML from JavaBeans ??

 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
im looking for an easy way to convert my JavaBeans to XML (which will be processed by XSLT afterwoods).
are there any good tools to do this ?
thanks
k
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using 1.4 take a look at java.beans.XMLEncoder. That should do all the work for you.
 
John Lee
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi:
please take a look at XML JavaBeans.
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks, i'll have a look at those solutions.
k
 
Axel Janssen
Ranch Hand
Posts: 2166
 
John Lee
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are welcome!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic