From Kevin_Taylor@pamperedchef.com Tue Jan 16 20:00:07 2001 Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Delivered-To: moderator for general@xml.apache.org Received: (qmail 46816 invoked from network); 16 Jan 2001 20:00:07 -0000 Received: from unknown (HELO tpcexch.pamperedchef.com) (209.125.179.253) by h31.sny.collab.net with SMTP; 16 Jan 2001 20:00:07 -0000 Received: by exch.pamperedchef.com with Internet Mail Service (5.5.2650.21) id ; Tue, 16 Jan 2001 13:59:40 -0600 Message-ID: <43F281650280D311B41400508B552394019EE417@exch.pamperedchef.com> From: "Taylor, Kevin" To: general@xml.apache.org Subject: setting external DTD in xalan Date: Tue, 16 Jan 2001 13:59:13 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I have been trying to get this to work for several days and cannot find any example in any of the xalan docs. I am using the java xalan 1.2D01. I am converting xml to xhtml and want to use the xhtml1-strict.dtd for the xsl stylesheet. I have attempted to include the following in my xsl: I have downloaded the xhtml1-strict.dtd to the root directory and have successfully used it in xml that is not xsl stylesheets. For some reason, when calling the processor.process( xmlSource, xslSheet, xmlResult ); with this dtd (or any dtd), the parser says that nbsp isn't defined (although it is in the dtd.) So, xalan is not finding the dtd. Is this something that has to be handled on the XSLTProcessor object or some other java object? TIA, --Kevin P. Taylor