Hi,
I know that we cannot use some special chars in XMl and also we can escape/declare them in DTD via ENTITY line. Can anyone help me modifing DTD code below so I have valid XML?
e.g. I tried this but no luck: <!ENTITY & "&">
Thanks in advance
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Document Type Definition -->
<!DOCTYPE store [
<!ELEMENT store (timestamp,items)>
<!ELEMENT items (item+)>
<!ELEMENT item (title)>
<!ATTLIST store id CDATA #REQUIRED>
<!ATTLIST item id CDATA #REQUIRED>
<!ATTLIST item available (Yes|No) #REQUIRED>
]>
<!-- Extensible Markup Language -->
<store id="AMZ-0101-STR">
<timestamp>01/02/2012 11:00</timestamp>
<items>
<item id="1111" available="Yes">
<title>Please help & me escaping these > invalid < chars "in" DTD' above. `Thanks</title>
</item>
</items>
</store>