dtd problem

In your dtd (Node.dtd) you don't allow any formatting (e.g. <b>) even though the interpreter understands it... I just get warning messages that the XML doesn't conform with the DTD... Maybe this can be changed at some point?

 

thanks,

 

Bernd

This is not correct. The DTD allows formatting such as bold or italic. It is used in several nodes. Your XML file seems to have a problem somewhere else.

angry I missed the point!!! Sorry, the important thing got lost somehow. What I meant is that there is no formatting allowed within e.g. lists, pre, and others. I get a warning message but the text is displayed correctly...

in the "p" tag everything is fine, but in the pre tag or li I would like to use "b,i,u"...

 

<!ELEMENT p (#PCDATA | br | b | i | u | a | tt | ul | ol | sup | sub)* >
<!ELEMENT ul (li)+ >
<!ELEMENT ol (li)+ >
<!ELEMENT li (#PCDATA) >
<!ELEMENT h3 (#PCDATA) >
<!ELEMENT h4 (#PCDATA) >
<!ELEMENT h (#PCDATA) >
<!ELEMENT b (#PCDATA) >
<!ELEMENT i (#PCDATA) >
<!ELEMENT u (#PCDATA) >
<!ELEMENT a (#PCDATA) >
<!ELEMENT tt (#PCDATA) >
<!ELEMENT pre (#PCDATA) >
<!ELEMENT sup (#PCDATA) >
<!ELEMENT sub (#PCDATA) >