Rafal Prinke wrote:
> Is it possible to define a situation when exactly one (or 0 or 1)
> element is inserted inside #PCDATA? For example:
>
> <parent> some text <child>marked up text</child> remaining text </parent>
Consider:
<!element parent - - (#pcdata, child, #pcdata)>
That works as expected. When the <child> element is optional you can specify:
<!element parent - - (#pcdata, (child, #pcdata)?)>
but not
<!element parent - - (#pcdata, child?, #pcdata)>
because that is ambiguous (data parsed cannot be attributed to first or
second #pcdata).
> I want to use this DTD for presentational markup of medieval documents
> and thus there can be only one authority who issued the document.
Does this mean that he/she can be *mentioned* only once????????
arjan
--
Arjan Loeffen
SGML/XML
Researcher Utrecht University: [log in to unmask]
http://CandL.let.uu.nl/
Consultant Salience B.V.: ++31+306056675
|