Hey guys. Does anyone know what do I have to enter in the DTD file in order to display an image from XML file?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The question is a little strange. Are you defining a new DTD? For what purpose? If you want to display images from XML, you may want to use XHTML. Its DTD has the
imgelement just for that purpose, and any Web browser knows how to render it.In any case the XHTML DTD may serve as inspiration if you’re defining your own DTD, but keep in mind that XML itself will not display any image: you need to process it (and that’s what a Web browser does for XHTML).