No I am saying that if you your XML document to be validated then
you need the DTD for it. The DOCTYPE tag just informs the XML Parser
where the DTD is located.
I presume you are using Apache Jakarta XALAN for the XSLT, by default
it validates the input XML. So you need to switch off validation if you
don't have the DTD.
HINT: The Xalan is invoking internally a SAX Parser XERCES. So look
at the javadoc for Xalan on http://xml.apache.org and figure out which
method turns validation off.
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
---------------------------------------- Message History
----------------------------------------
From: Nik DAMPIER <[EMAIL PROTECTED]>@java.sun.com> on 24/04/2001 09:21
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
DELEGATED - Sent by: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology."@java.sun.com>
To: [EMAIL PROTECTED]
cc:
Subject: Re: XML from servlets & XSLT??
firstly, Thanks for your help.
So are you say that I need a DTD in my prods.xml, or are you saying that I
need a this particular DTD from netscape??
At the moment I don't have any specified DTD for prods.xml. Will the
transformation work if I were to put in an internal DTD??
>From: Peter Pilgrim <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: XML from servlets & XSLT??
>Date: Mon, 23 Apr 2001 11:48:28 +0000
>
>What is your DOCTYPE DTD specification "webpages/prods.xml" , then ?
>It must be physically accessible
>
>e.g
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html