A wise old hermit known only as Thomas Quas <[EMAIL PROTECTED]> once said:

> Does xdoclet support generation of XML Schema files from Java sources, 
> or are there any plans/ongoing efforts? I appreciate your feedback.

It supports generation of anything from Java sources, you just need to 
write a template to do it.  There's nothing out of the box that does it, 
AFAIK.

See towards the end of http://xdoclet.sourceforge.net/using.html for an 
example of using a custom template (the stuff that defines & uses a 
"templatedoclet" task).  Since XML Schema files are themselves written in 
XML, you may wish to use the "xml" subtask instead of "template" (it has 
extra subtask parameters - see 
http://xdoclet.sourceforge.net/ant/xdoclet/XmlSubTask.html - which are 
needed if you use the <XDtXml:...> template tags)  Documentation of the 
existing template tags is at 
http://xdoclet.sourceforge.net/templates/index.html, and there's plenty of 
examples - just have a look at the existing .xdt template files in the 
various jars.


Andrew.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to