hi all, this is it:
I am setting up a spry framework in dreamweaver - at this stage just seeing if I can get an image to display from some code I've written. However the image doesn't show - can anyone tell me if this is correct? thanks
doc.xml
file.dtd
I am setting up a spry framework in dreamweaver - at this stage just seeing if I can get an image to display from some code I've written. However the image doesn't show - can anyone tell me if this is correct? thanks
doc.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root SYSTEM "file.dtd" [
<!ELEMENT root (item)*>
<!ELEMENT item EMPTY>
<!ATTLIST item pic ENTITY #IMPLIED>
]>
<root>
<item pic="mypic" />
</root>
file.dtd
Code:
<!ENTITY mypic SYSTEM "mypic.jpg" NDATA jpg>
<!NOTATION jpg SYSTEM "image/jpg">