Hi no error at all. I believe it is in the correct order:
<web-app>
<display-name>Welcome to My JSP-Files</display-name>
<icon>cl6D11.gif</icon>
<description>
Welcome to My JSPs
</description>
</web-app>
The dtd is:
<!ELEMENT web-app (icon?, display-name?, description?, distributable?,
context-param*, ...
I was thinking the same thing the order that's why I changed it from my original post
to the one above. I'm going to have to investigate the ATTLIST I may need a
attributes on the child element <icon>. I can tell you getting images to appear in
XML is tricky business. I have done it but using a XSL. I do have an XML that does
it natively so I'll look more into that. Right now I don't think the dtd is
constructed correctly for the image. At least it dosen't have the type of elements
contructed in a dtd to do it as far as I can tell.
--
George Hester
__________________________________
"David Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I'm surprised you didn't get some kind of error in the logs. DTDs also
> require a specific order to the elements. You appear to have put your
> icon element at the end when the DTD snippet you quoted clearly requires
> it at the beginning. Try it at the beginning and see what you get.
>
> --David
>
> George Hester wrote:
>
> >OK I'm trying that now. I wasn't sure where the image should have gone. And oh
> >yeah please pardon my XML bastardization. I should of said, "child elements" of
> >the element web-app not "attribute."
> >
> >Crap didn't work. Oh well.
> >
> ><?xml version="1.0" encoding="ISO-8859-1"?>
> >
> ><!DOCTYPE web-app
> > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> > "http://java.sun.com/dtd/web-app_2_3.dtd">
> >
> ><web-app>
> > <display-name>Welcome to My JSP-Files</display-name>
> > <icon>cl6D11.gif</icon>
> > <description>
> > Welcome to My JSPs
> > </description>
> ></web-app>
> >
> >with C:\Inetpub\JSP_Files\cl6D11.gif
> >
> >JSP_Files is my web-app.
> >
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]