how do i parse xml ignoring the doctype and dtd
843834Jul 25 2002 — edited Oct 9 2003I have a project which involves converting information stored in xml into my own internal file format (a class structure) and then producing an applet with it. I know the xml is both well formed and valid but when i try to parse it the dtd throws an exception. the only way to work around this that i have found is to strip the doctype definition from the file before parsing. is there anyway i can simply ignore the doctype line in the xml document?