Hi Wolfgang
--On Montag, 1. Oktober 2001 09:51 +0200 Würfel Wolfgang <[EMAIL PROTECTED]>
wrote:
((org.apache.xerces.dom.DocumentImpl)aDOMDocument).putIdentifier(idName,
element);
if you want to tell the aDOMDocument that element has an ID-attribute with
value idName. aDOMDocument.getElementById(id
Hi Christian,
you can use
((org.apache.xerces.dom.DocumentImpl)aDOMDocument).putIdentifier(idName,
element);
if you want to tell the aDOMDocument that element has an ID-attribute with
value idName. aDOMDocument.getElementById(idName) will then work for this
element
DI Wolfgang Würfel
E-Busine
TECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: getElementById Question
Hi Neil
Does this mean that I can only use Document.getElementById() if I
constructed the Document by reading in a file or other resource?
Christian
--On Freitag, 28. September 2001 15:17 -0400 [EMAIL PROTECTED] wrote:
>
Hi Neil
Does this mean that I can only use Document.getElementById() if I
constructed the Document by reading in a file or other resource?
Christian
--On Freitag, 28. September 2001 15:17 -0400 [EMAIL PROTECTED] wrote:
There's no way with DOM level 2 to validate a DOM tree. So, unless you
can wa
Hi Christian,
There's no way with DOM level 2 to validate a DOM tree. So, unless you can
wait for DOM level 3, which will have this support, you're best bet will
probably be to serialize your DOM tree into an in-memory structure like a
byte array and then direct an InputSource at that structure.