out.write(versionDecl.getBytes());
} catch (Exception e) { }
for (int i=0; i<prolog.size(); i++) {
ConcreteElement e = (ConcreteElement)prolog.elementAt(i);
e.output(out);
// XXX really this should use line separator!
// XXX should also probably check for pretty print
// XXX also probably have difficulties with encoding
try
{