Jump to content

DTD Enumerated Attribute Values Problem


Guest rausrh

Recommended Posts

I am trying to restrict the users to input only a given range of date formats. I would like to include mm/dd/yyyy as a posibilty but the DTD is not valid when I include the '/'s.What can I do?Fails:<!ATTLIST columndef rawdateformat (mmddyyyy|yyyymmdd|mm-dd-yyyy|mm/dd/yyyy) "mmddyyyy">Valid:<!ATTLIST columndef rawdateformat (mmddyyyy|yyyymmdd|mm-dd-yyyy) "mmddyyyy">Thanks.

Link to comment
Share on other sites

I'm not much into DTD, but... can you reference the "/" as a numeric entity (I have no idea what the entity number is though)?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...