users@jaxb.java.net

Re: XSD annotation/documentation to Javadoc request

From: David Walend <dwalend_at_ALPHATECH.COM>
Date: Fri, 01 Aug 2003 07:59:48 -0600

Gary,

I'm new to xslt, and I need exactly what you describe. (I have lots of .xsd
with lots of documentation filled in, and want that documentation as
javadoc.) Can you post your xslt?

Thanks,

Dave

------------------

On Thu, 26 Jun 2003 13:46:52 -0400, Gary Gregory <ggregory_at_seagullsw.com> wrote:

>Perhaps I could! I'll give it a go. Right back at you: It would be nice if
>one could then tell XJC, please apply this stylesheet and use the result for
>the XSD and/or Bindings file input. FYI, we always use a separate binding
>file to keep our XSDs as "clean" as possible.
>
>Thanks,
>Gary
>
>-----Original Message-----
>From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
>Sent: Thursday, June 26, 2003 08:32
>To: JAXB-INTEREST_at_JAVA.SUN.COM
>Subject: Re: XSD annotation/documentation to Javadoc request
>
>Perhaps you might be able to write a little XSLT stylesheet that
>produces javadoc customization from xsd:annotation?
>
>You could have multiple binding files apply to one schema, so you can
>write your own customization in another file and apply two binding files
>to one schema file.
>
>regards,
>--
>Kohsuke Kawaguchi 408-276-7063 (x17063)
>Sun Microsystems kohsuke.kawaguchi_at_sun.com
>