← Back
Editing: book_with_dtd2.xml
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE books [ <!ENTITY entitest "entity is only for test purposes"> <!ATTLIST title default CDATA "default title"> <!ELEMENT books (book*)> <!ELEMENT book (title, author)> <!ELEMENT title (#PCDATA)> <!ELEMENT author (#PCDATA)> ]> <books> <book> <title>The Grapes of Wrath</title> <author>John Steinbeck</author> </book> <book> <title>The Pearl</title> <author>John Steinbeck</author> </book> <book> <title>&entitest;</title> <author><![CDATA[data for test]]></author> </book> </books>
Save File
Cancel