xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Oatham" <matthewoat...@hotmail.com>
Subject creating DOM from file
Date Mon, 14 Apr 2003 14:57:47 GMT

When I create a DOM from an existing file the resulting xml has the following elements missing

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN'

I am using DocumentBuilder.parse(File file) to load the DOM tree. Is there a way to retain
or add these elements?



View raw message