I am trying to model the following: <!ELEMENT X (A , B), (C, D | E, F) which I can't do as the above as I can only use one kind of connector. I am trying to get the instance to be either: <x><a> <b> <c> <d></x> or <x><a> <b> <e> <f></x> Any / all ideas would be welcome. Thanks Jeremy
<!ELEMENT X ((a,b),((c,d)|(e,f)))> That is, each group must be grouped in parentheses. Don't forget XML is case-sensitive - so don't use <a> if your DTD says A. Cheers, Tom P [Macdonald Jeremy]
I am trying to model the following:
<!ELEMENT X (A , B), (C, D | E, F)
which I can't do as the above as I can only use one kind of connector.
I am trying to get the instance to be either: <x><a> <b> <c> <d></x>
or
<x><a> <b> <e> <f></x>
Any / all ideas would be welcome.
participants (2)
-
Macdonald Jeremy -
Thomas B. Passin