W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 1999


From: Imran Rashid <imranr@dragonfly.wolfram.com>
Date: Tue, 21 Dec 1999 14:54:28 -0600
Message-Id: <v04011705b485968b5a01@[]>
To: www-xml-schema-comments@w3.org

I'm not sure if the current definition of wildcards can do what I want or
not, but I don't think it can.

For some documents I'm writing, there is one place in the document where
the user could come up with any element they want.
however, the contents of that element are rigidly defined.  currently, to
make sure the documents are still always valid, I'm having to dynamically
generate a DTD, even though it's.  99.99% the same for each document.

so I was hoping that with schema's I could come up with a way of saying
that in one spot, any element can be used, but that element must follow
this content model.

in other words, could I do something like:

<element name="topElement">
       <group ref="myGroup"/>

so you could clarify the option/ exclusion of content-models like that in
the wildcard section.
(and if you're going to exclude it, I'd really like to see it added.)

Imran Rashid

Wolfram Research, Inc.
Received on Tuesday, 21 December 1999 15:52:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:51 UTC