Extend EntityResolver, override resolveEntity() and use pParser->setEntityResolver()
Adam Heinz Development Consultant Exstream Software [EMAIL PROTECTED] 317.879.2831 connecting with the eGeneration www.exstream.com -----Original Message----- From: Andreas B. Thun [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 2:04 AM To: [EMAIL PROTECTED] Subject: Validation with another DTD than specified in XML file Hello! We had this before, but still no solution. Anyone know nows how to override the DTD? Andi >Is there a way to force the DOMParser to validate >a DTD which is different to the DTD specified >in the XML file? > ><?xml version="1.0" encoding="UTF-8"?> ><!DOCTYPE ConstraintTypes SYSTEM "constraint_template.dtd"> > ^^^^^^^^^^^^^^^ > want to use another one --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
