xsl-list
[Top] [All Lists]

RE: Documenting XML schema: a schema-to-XHTML stylesheet?

2003-04-28 05:18:30
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
Graham
Hannington
Sent: Monday, April 28, 2003 1:15 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Documenting XML schema: a schema-to-XHTML stylesheet?


I'd like an XSLT stylesheet that transforms an XML schema into XHTML that,
er, "normal people" ;-) (who might not want to refer to a schema
directly),
can use as a reference for creating XML document instances that follow the
rules defined in the XML schema.

I guess I'm hoping that someone will have a simple, single schema->XHTML
stylesheet that I can pick up and tweak. (Something that nicely
formats the
description annotations, and lists in alphabetic order attributes for an
element, and their possible values, etc.)

I've seen Componentizer
(http://www.disa.org/technotes/TechNote2002_01.html)
and SchemaDoc (http://www.mutu-xml.org/schemaDoc/html/index.html).

(For this particular application, I'm locked into MSXML 3.0, so I'm using
MS's XDR schema language; but I'd be happy to get a stylesheet that works
for XSD files.)

If you need something specifically for XDR then you probably should take a
look at the XML downloads at msdn.microsoft.com:

http://www.microsoft.com/downloads/details.aspx?FamilyId=FFC77030-68AF-43FB-
8F71-74CDBD5505C2&displaylang=en


--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list