Re: Unable to insert comment before document element

2007-10-26 Thread Stanimir Stamenkov
Fri, 26 Oct 2007 16:20:57 +0200, /Spaan, Henk/: As far as I know there is no objection against having a comment between the document type definition and the document element. So why can't I insert a comment before an existing document element with xerces. Element root = doc.getDocumen

Unable to insert comment before document element

2007-10-26 Thread Spaan, Henk
Hello, As far as I know there is no objection against having a comment between the document type definition and the document element. So why can't I insert a comment before an existing document element with xerces. Element root = doc.getDocumentElement(); doc.in