Apologies. I am actually leaving the text alone if it doesn't contain a hit or creating a "hit_node" around the hit text if it does (to facilitate special processing which at a basic level is hit highlighting). I therefore need to create a "hit_node" element, hence the use of createElement().
Regards Rob Tice -----Original Message----- From: Joseph Kesselman [SMTP:[EMAIL PROTECTED]] Sent: 14 August 2002 15:10 To: [EMAIL PROTECTED] Subject: RE: extension function If you're creating text, you should probably design your extension to return a string and let us incorporate that into our own data stream. More efficient, and avoids the need to create a DOM node. ______________________________________ Joe Kesselman / IBM Research
