U
unwiseone
Hello,
Does any know how to specify a value of a DTD element? For example,
here's an external DTD that I have:
=======================================
<!ELEMENT summercamps (Camp+)>
<!ELEMENT Camp (name, campcode?, ContactPhone, ContactPhone?,
Activity+)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT campcode (#PCDATA)>
<!ELEMENT ContactPhone (#PCDATA)>
<!ELEMENT Activity (name, StartDate, Duration, Student*)>
<!ELEMENT StartDate (#PCDATA)>
<!ELEMENT Duration (#PCDATA)>
<!ELEMENT Student (name, studentId)+>
<!ELEMENT studentId (#PCDATA)
========================================
In the 'Duration' element, instead of #PCDATA, I want to specify a
duration period, for example (3 weeks or 4 weeks). The duration element
must stay in the order as prescribed in the Activity tree. Does any
know how to do this? Thanks in advance.
- P
Does any know how to specify a value of a DTD element? For example,
here's an external DTD that I have:
=======================================
<!ELEMENT summercamps (Camp+)>
<!ELEMENT Camp (name, campcode?, ContactPhone, ContactPhone?,
Activity+)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT campcode (#PCDATA)>
<!ELEMENT ContactPhone (#PCDATA)>
<!ELEMENT Activity (name, StartDate, Duration, Student*)>
<!ELEMENT StartDate (#PCDATA)>
<!ELEMENT Duration (#PCDATA)>
<!ELEMENT Student (name, studentId)+>
<!ELEMENT studentId (#PCDATA)
========================================
In the 'Duration' element, instead of #PCDATA, I want to specify a
duration period, for example (3 weeks or 4 weeks). The duration element
must stay in the order as prescribed in the Activity tree. Does any
know how to do this? Thanks in advance.
- P