Monday, 20 October 2014

White space error DTD.



"White space is required after the element type "element" in the element type declaration." I've read some other post on stackoverflow about this issue and I still have the same problem.



<!DOCTYPE catalogue
[
<!ELEMENT catalogue (book+)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT price (#PCDATA)>
<!ELEMENT ISBN (#PCDATA)>
<!ELEMENT abbreviation (#PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT country (#PCDATA)>
<!ELEMENT publisher (abbreviation, name, country)>
<!ELEMENT book (title, publisher, price, ISBN)>]>

No comments:

Post a Comment