After running a validation on my DTD file, I encountered an error that states the attribute type
must be declared for element type profile
. How should I go about editing my DTD file to resolve this issue?
This is what my external DTD looks like:
!ELEMENT profile ANY
And here is a snippet from my XML file:
<profile type="jpeg">C:\Users\username\Desktop\image3.jpg</profile>
Additionally, here is a portion of my XSL file:
<td rowspan="6" align="left" style="color:#C0C0C0;"> <img src="{profile}" />
I had to remove the tags in order to display the code properly on Stack Overflow.