On Fri, 29 Jun 2001, Almiro Perez wrote:
> Hi one fast question
> I´ve got my dtd...
> <!ELEMENT A(B, C)>
> Suppose B and C are PCDATA (for example). Can I use in my xml file
No. Your DTD says that A is made up of a B followed by a C (only,
nothing else). The comma means "followed by", not "any mixture
> I know I have to close C, B, but my question is if the order can be C and B
> instead of B and C. Thanks a lot!!!
If you want the order to be both ways, you need
<!ELEMENT A ((B,C)|(C,B))>