OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Newbie question:DTD problem(#PCDATA)

[ Lists Home | Date Index | Thread Index ]

Allen Chu wrote:
>    I have a SGML DTD like "<!Element bio(#PCDATA|footnote)+>". However,
> XML doesn't like the #PCDATA and "+" combination. Is there an equivalent
> for this in XML DTD? Thanks in advance.

Just change the '+' to a '*'.  This is legal in XML, and
is completely equivalent to the original since #PCDATA
is inherently optional.

--Joe English



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS