callista wrote:

> That works great guys. However, I have another problem. I need to replace
> the other with mixed content. I read that you can't use mixed content in a
> sequence and that mixed content must end with ')*'. How do I go about
> creating something like ((#PCDATA | other)*, (form, (#PCDATA | other)*)?).

I don't think you can do that. The mixed content has to be (#PCDATA|...)*
where ... stands for element names separated by |.
This is the only use. The * is mandatory and #PCDATA must be the first item.
However, you could define new elements like this :

<!ELEMENT e1 (#PCDATA | other)*>
<!ELEMENT e2 (form, e1)?>
and finally <!ELEMENT e3 (e1, e2)>

Se the documentation below.

> Thanks,
> Callista
>
> P.S: Is there a good page that specifies the rules for building xml/dtd
> entities and elements? Most of the ones I've seen only mention the basics
> of how to write them but nothing much about things such as
> deterministic/non-deterministic, rules of mixed contents, etc...
>

http://XMLwriter.net/xml_guide/element_declaration.shtml


Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to