attribute default value in sub element

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Erwan

    #1

    attribute default value in sub element

    Hi

    I have the following DTD (extract)

    <!ELEMENT d_field (table_ref?, item*, lst_caption?, frm_caption?,
    frm_layout?, frm_alert_onval id?, input?, list?)>
    <!ELEMENT input (onvalid?)>
    <!ATTLIST input
    default_value CDATA #IMPLIED
    modify (normal | disable | restrict) "normal"
    noentry_select CDATA "- - >"[color=blue]
    >[/color]


    as you see the element input is declared as zero or one occurrences

    my question is can I get the default value of an attribute in input if
    the element has no occurence in d_field ?

    thanks

    erwan

Working...