Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Important DTDs

 
Nikhilesh Fonseca
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just for that last minute preparation incase you dont already have it

Classic Tags
key
+ Declaring minimum one occurrence of the same element
* Declaring zero or more occurrences of the same element
? Declaring zero or one occurrences of the same element

DTD for the security element:
<!ELEMENT security-constraint (display-name?, web-resource-collection+, auth-constraint?, user-data-constraint?)>
<!ELEMENT web-resource-collection (web-resource-name, description?, url-pattern*, http-method*)>
<!ELEMENT web-resource-name (#PCDATA)>
<!ELEMENT url-pattern (#PCDATA)>
<!ELEMENT http-method (#PCDATA)>
<!ELEMENT user-data-constraint (description?, transport-guarantee)>
<!ELEMENT transport-guarantee (#PCDATA)>

<!ELEMENT login-config (auth-method?, realm-name?, form-login-config?)>
<!ELEMENT auth-method (#PCDATA)>
<!ELEMENT realm-name (#PCDATA)>
<!ELEMENT form-login-config (form-login-page, form-error-page)>
<!ELEMENT form-login-page (#PCDATA)>
<!ELEMENT form-error-page (#PCDATA)>

DTD for tags
<!ELEMENT taglib (tlib-version, jsp-version, short-name, uri?,display- name?, small-icon?, large-icon?,description?,validator?, listener*, tag+)>

<!ELEMENT tag (name, tag-class, tei-class?, body-content?, display- name?,small-icon?, large-icon?, description?, variable*, attribute*, example?)>
<!ELEMENT attribute (name, required? , rtexprvalue?,type?,description?>
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot..
there are some elements that we really dont neeed..
but this is really a good compilation,,,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic