dtd - Using #Required keyword in XML with enumerated values -


can use #required keyword in xml enumerated value list?

like ,

<!attlist item type cdata (offer|request) "offer" #required> 

thanks..

it's fine have such combination like:

<!attlist item type (offer|request) #required> 

but i'm not sure cdata definition in case of choice , combination of default value , required not ok. try http://www.validome.org/grammar/validate/

regards

jk.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -