Lists Home |
Date Index |
Thanks for your responses. Allow me to go back to my original
thought. What I present in element bio is more than one #PCDATA or
footnote. Changing to from "+" to "*" makes bio contain zero or more
#PCDATA/footnote. In this case, neither #PCDAT nor footnote is required
for bio. And that violates my original design. Therefore, I don't think
"*" will make them equvalent from my understanding. So, what I actualy
try to achieve is to let bio at least have one element:#PCDATA or
footnote. Could you help me to clearify that? Thanks!!
> 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.