[Home] [By Thread] [By Date] [Recent Entries]
> Again notice that each particle is optional but the content model itself is > not. Without even considering XML Schema, would the following be valid XML? > > DTD fragment: > <!ELEMENT A (B?, C?, D?)> > > XML document fragment: > <A></A> Yes, of course. I haven't re-read the spec for this answer, but there are literally hundreds of XML vocabularies that uses empty element. For one, in XHTML, we have <br/> and <hr/>. regards, ---------------------- K.Kawaguchi E-Mail: kohsukekawaguchi@y...
|

Cart



