Yes this is legal. You can then later use import node to use it in another
document.

Erik Rydgren
Mandarinen Systems AB
Sweden

-----Original Message-----
From: Benoit Lefevre [mailto:[EMAIL PROTECTED]]
Sent: den 13 juni 2001 10:42
To: [EMAIL PROTECTED]
Subject: DOM_Element creation probleme.




Hello.

     Here is my probleme : during my use of DOM part of Xerces, i'd like to
create a
     DOM_Element witch is in some kind of "stand by" state.

     I mean by "stand by" that i'd like to build a DOM_Element like this:

          DOM_Element anElement =
createDocument().createElement(DOMString("A_Tag"));

     And use it later in another DOM_Document.

     To sum it up i'd like to know if there is relation between the
DOM_Document objects and it
     Elements that disable the use the above code line or if it is valide to
do this to create a
     independant DOM_Element ?

Thanks in advence.

Benoit Lefevre.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to