DTD special characters in enumeration

I would like to insert in a DTD the following ATTLIST:

<!ATTLIST elem operator (=|<>) #REQUIRED>

but the validator tells me that the DTD is not valid, with this error:

Invalid item '=' in DTD ATTLIST Enumeration

Does someone know what I should write to have a correct DTD with the special characters I want to insert?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!