• Post Reply Bookmark Topic Watch Topic
  • New Topic

Velocity to xml and validate with xsd  RSS feed

 
Adam Teg
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using velocity to generate an XML document. The document gets created fine and prints to the console. What I want to get is an XML Document object from velocity so that I can validate it using an xsd. Any thoughts. Thanks

Document = ctx.put("paceartController", getPaceart());
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!