OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] generating a doc out of a xml schema

[ Lists Home | Date Index | Thread Index ]


	I have created a really simple XSLT stylesheet to pull the
documentation out of a schema for my own use.  I will be glad to share it
with you.  You will need to customize it based on the <xsd:appinfo>
element. An example of the output is:


	I don't know if any other generalized tool.  XML Spy does a pretty
good job, except it puts everything into a single file which makes the
documentation unusable because of the sheer size of the file.  I have
written an XSLT to take XML Spy output and create a navigatable frame


On Mon, 9 Jun 2003, florian wrote:

> On Montag, Juni 9, 2003, at 03:40  Uhr, Betty Harvey wrote:
> >
> > XML Spy does a very nice job of creating documentation for XML 
> > Schema's.
> > However, if you don't have XML Spy, I have found that using XSLT to 
> > create
> > documentation based on the <xsd:annotation> element within the schema
> > works very nicely. However, in order to make the customized 
> > documentation
> > useful, either with XML Spy or customized XSLT is to make sure that you
> > use the <xsd:annotation> element within the schema.
> im using mac os x.. so unfortunately i cant use xml spy : /
> i franky cant believe that there are no other tools to create 
> documentation.
> are there ways for relax?
> yup, im using xsd:annotation basically for every element in my schema..
> thanks!
> ciao!
> florian

Betty Harvey                         | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
harvey@eccnet.com                    | Washington,DC XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS