I've been trying to find a way to do that too and found it much easier to
just  create a temporary file without a doctype and running xalan on the
temporary file.

Lisa


<><><><><><><><><><><><><><><><><>
Lisa Rupe,   XML Specialist
Questia Media, Inc.
713 358-2696  713 358-2990 fax
<><><><><><><><><><><><><><><><><>



                                                                                
                                   
                    "Nicholas                                                   
                                   
                    Waltham"             To:     <[EMAIL PROTECTED]>            
                        
                    <[EMAIL PROTECTED]        cc:                               
                                        
                    m.com>               Subject:     Prevent Validation agains 
DTD of input file ??               
                                                                                
                                   
                    10/04/01                                                    
                                   
                    03:59 AM                                                    
                                   
                                                                                
                                   
                                                                                
                                   




Hello all,
 I am currently calling Xalan like this?

java org.apache.xalan.xslt.Process -in in.xml -xsl style.xsl -out out.xml

Obviously its vital the input XML file is well formed, but I would like to
have the option to not validate agains a DTD, even when the DTD to use is
specified in the XML file. How can I turn off this validation. If I don't
have the DTD file, it just stops and refuses to go any further.

Thanks in advance,
Nicholas Waltham




Reply via email to