extensibility in XSchema?
crism at oreilly.com
Wed Jun 24 18:52:53 BST 1998
> 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:namespace ns="http://www.purl.org/NET/XSchema" prefix="xsc"?>
<para>The <element>species</element> element should contain
the latinate name of the organism or group of organisms.</para>
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.
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev