[EMAIL PROTECTED] wrote:
> doc = indstillingerFraFil.getDocument();
> Node indst = doc.getFirstChild();
NEVER assume thta the first child of the document is the root
element! There may be a DOCTYPE, comments, or processing
instructions before the actual root element. Therefore, use
the getDocumentElement() method to query the root element.
--
Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]