<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>Is this legal in a DTD?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">I was wondering if the following would be possible in a DTD. Consider:</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><!ELEMENT PARENTS (FATHER?, MOTHER?)></FONT>
<BR><FONT SIZE=2 FACE="Courier New"><!ELEMENT FATHER (CHILD*)></FONT>
<BR><FONT SIZE=2 FACE="Courier New"><!ELEMENT MOTHER (CHILD*)></FONT>
<BR><FONT SIZE=2 FACE="Courier New"><!ELEMENT CHILD (SON | DAUGHTER)> <========= Alternative!</FONT>
<BR><FONT SIZE=2 FACE="Courier New"><!ELEMENT SON (#PCDATA)></FONT>
<BR><FONT SIZE=2 FACE="Courier New"><!ELEMENT DAUGHTER (#PCDATA)></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New">I've seen OR in the context of element attributes, of course, but what about in element definitions?</FONT>
</P>
<P><FONT SIZE=2 FACE="Tahoma">-</FONT><FONT SIZE=2 FACE="Arial">- jaime "jim" serrat</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Team Manager of PDA08 - Messaging Engine Office: +1 609-797-3227</FONT>
<BR><FONT SIZE=2 FACE="Arial">Product Development Fax: +1 609-797-6660</FONT>
<BR><FONT SIZE=2 FACE="Arial">Industri-Matematik Mobile: +1 609-315-3338</FONT>
<BR><FONT SIZE=2 FACE="Arial">Five Greentree Centre Web: </FONT><U> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><A HREF="http://www.im.se" TARGET="_blank">http://www.im.se</A></FONT></U>
<BR><FONT SIZE=2 FACE="Arial">Marlton, NJ 08053 Email: jasr@im.se</FONT>
</P>
<BR>
</BODY>
</HTML>