R
robbie chen
I wonder
1. If an element can contain any children ( none children is
allowed), add "*" to the element name.
2. If an element should at least contain one children, add "+" to the
element name.
3. If an element contain no children, use "EMPTY" to qualify it.
Here is an instance:
<!ELEMENT FxsChan (RULE*)>
<!ELEMENT RULESET (RULE+)>
<!ELEMENT RULE (ROUTE+)>
<!ATTLIST RULE NAME CDATA #REQUIRED>
<!ELEMENT ROUTE EMPTY>
<!ATTLIST ROUTE UID CDATA #REQUIRED>
<!ATTLIST ROUTE NAME CDATA #REQUIRED>
<!ATTLIST ROUTE PATTERN CDATA #REQUIRED>
<!ATTLIST ROUTE CHANNEL CDATA #REQUIRED>
<!ATTLIST ROUTE DEPLOY CDATA #REQUIRED>
Am I right?
1. If an element can contain any children ( none children is
allowed), add "*" to the element name.
2. If an element should at least contain one children, add "+" to the
element name.
3. If an element contain no children, use "EMPTY" to qualify it.
Here is an instance:
<!ELEMENT FxsChan (RULE*)>
<!ELEMENT RULESET (RULE+)>
<!ELEMENT RULE (ROUTE+)>
<!ATTLIST RULE NAME CDATA #REQUIRED>
<!ELEMENT ROUTE EMPTY>
<!ATTLIST ROUTE UID CDATA #REQUIRED>
<!ATTLIST ROUTE NAME CDATA #REQUIRED>
<!ATTLIST ROUTE PATTERN CDATA #REQUIRED>
<!ATTLIST ROUTE CHANNEL CDATA #REQUIRED>
<!ATTLIST ROUTE DEPLOY CDATA #REQUIRED>
Am I right?