wildcards

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">
  <type>
    <any>
       <group ref="myGroup"/>
    </any>
  </type>
</element>


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.)


thanks,
Imran Rashid

Wolfram Research, Inc.
www.wolfram.com

Received on Tuesday, 21 December 1999 15:52:13 UTC