--- On Wed, 6/24/09, John Leonard <jleonard.20...@gmx.com> wrote:

> From: John Leonard <jleonard.20...@gmx.com>
> Subject: [Xdoclet-user] xml generation.
> To: xdoclet-user@lists.sourceforge.net
> Date: Wednesday, June 24, 2009, 5:19 PM
> with xdoclet I was able to create
> *.xdt file and pass it to 
> xdoclet.DocletTask class which would generate *.xsd file.
> How can do 
> this in xdoclet2? Do I need to write my own plugin?


Usually it's best solution, and with XD2 it's way easier than with XD1
Creating new plugin will allow you to create your own tags,
which are self validating and documenting.

Since you like to produce xml,  best choice ( as sample ) will be 
some jelly based plugin ( nobody prohibits you from using velocity
one though )

Just look how this is done in (for example) web plugin.
If you are using maven, it's just deriving from existing project,
and providing interfaces for tags, jelly/velocity templates and
plugin class itself.


> Thank you,
> John L.

regards,
----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/




      

------------------------------------------------------------------------------
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to