Re: [xml-dev] <!ELEMENT element-name (ANY)> in DTD

From
Richard Tobin <>
To
Date
2002-03-18T13:52:11Z
ID
<>
Thread
Re: [xml-dev] <!ELEMENT element-name (ANY)> in DTD
>    <!ELEMENT element-name (ANY)>.
>The keyword ANY declares an element with any content.

But that's not the keyword ANY.  That's the name of an element which
happens to be ANY.  You want:

  <!ELEMENT element-name ANY>

without the parentheses.

Also note that you still have to declare the elements that appear inside
<element-name>.

-- Richard