Subject: Re: how to use an xsd as an xml, or is it an include-problem?
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Tue, 24 Apr 2001 12:21:05 +0100
|
We have used xsd:annotation/xsd:documentation elements for this which
worked well for us.
Francis.
Michael Kay wrote:
>
> > I don't want to change the xsd, so I made a separate
> > description-xml and a
> > main-xml, including the xsd (as an xml) and the description xml:
>
> There are two other approaches you might want to look at:
>
> - using schema annotations. This is a mechanism for adding
> application-defined information to schemas, provided explicitly for this
> purpose.
> - schema adjuncts. This is a separate XML document associated with a schema,
> again designed to meet this kind of requirement. Can't give you a pointer
> off-hand, but a search should find it.
>
> Mike Kay
> Software AG
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|