----- Original Message ----- From: "K. Ari Krupnikov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 05, 2001 2:24 PM Subject: Re: Is recursive definition of elements allowed in dtd?
> S Uma wrote: > > > > Hi, > > > > I am just wondering if a dtd can have recursive definitions? > > > > i.e. <!ELEMENT list (item+, list)> > > > > If it is valid syntactically, are there any advantages of defining > > elements recursively? To me ,it is confusing to have elements defined > > recursively. > > > > Does anyone know of a situation where it is really helpful ? > > <!ELEMENT directory (directory*|file*)> <!ELEMENT directory (directory|file)*> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
