L
luckyroom505
Hello,
I try to make a DTD for a structure like this:
<notelist>
<note><to>john</to><subj>i have a question</subj></note>
<note>my pin code is 1111</note>
</notelist>
I tried:
<!DOCTYPE notelist[
<!ELEMENT notelist (note*)>
<!ELEMENT note (#PCDATA|(to, subj)) >
<!ELEMENT to (#PCDATA)>
<!ELEMENT subj (#PCDATA)>
]>
but it does not validate (iE6.0)
Any ideas?
LR
I try to make a DTD for a structure like this:
<notelist>
<note><to>john</to><subj>i have a question</subj></note>
<note>my pin code is 1111</note>
</notelist>
I tried:
<!DOCTYPE notelist[
<!ELEMENT notelist (note*)>
<!ELEMENT note (#PCDATA|(to, subj)) >
<!ELEMENT to (#PCDATA)>
<!ELEMENT subj (#PCDATA)>
]>
but it does not validate (iE6.0)
Any ideas?
LR