If you want to create a simple xml with template StringTemplate is good to use it. It's same like JSP. http://www.antlr.org/wiki/display/ST/Five+minute+Introduction is very nice to use it.
If you have collections, Map and more string operation to create xml using template go for Apache Velocity its very nice. Good tutorial about the velocity examples :
http://today.java.net/pub/a/today/2003/12/16/velocity.html
http://www.java2s.com/Code/Java/Velocity/ShowbasicXMLhandlinginatemplate.htm
If you have collections, Map and more string operation to create xml using template go for Apache Velocity its very nice. Good tutorial about the velocity examples :
http://today.java.net/pub/a/today/2003/12/16/velocity.html
http://www.java2s.com/Code/Java/Velocity/ShowbasicXMLhandlinginatemplate.htm
No comments :
Post a Comment