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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: extensibility in XSchema?

[ Lists Home | Date Index | Thread Index ]
  • From: Chris Maden <crism@oreilly.com>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 24 Jun 1998 12:51:13 -0400 (EDT)

[Simon St.Laurent]
> This nightmare is precisely what we're trying to avoid.  Comments
> are a weak and downright bad means of providing anything more than
> the simplest supporting information.  XSchema is definitely an
> attempt to address this, and I hope we meet your expectations.
> Please tell us if we don't.

There are two simple ways to do this.

One is based on namespaces, and is a sort of literate programming:

<?xml version="1.0"?>
<?xml:namespace ns="http://www.purl.org/NET/XSchema" prefix="xsc"?>

  <xsc:ElementDecl xsc:name="species">
        <para>The <element>species</element> element should contain
the latinate name of the organism or group of organisms.</para>
        <species>Homo sapiens</species>
        <species>Gorilla gorilla</species>

The XSchema processor should ignore elements not in its namespace, but
a stylesheet could format the reference sections and do something
intelligent with the structure definitions.

The other option would be for XSchema to standardize some sort of
documentation elements, similar to what's outlined above, or similar
to the DocBook reference pages.

<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


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

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