|| -----Original Message----- || From: [EMAIL PROTECTED] || [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir || R. Bossicard || Sent: maandag 24 februari 2003 15:08 || To: [EMAIL PROTECTED] || Subject: Re: Tests and other things || || || if "insert before" fails and "insert after" succeeds and || the order is || not important, why are both methods not using the same || code? (the code || of "insert after").
Those operations use two generic pieces of code for inserting stuff, one for before and one for after. Those pieces are also used for inserting other kinds of nodes in which case the order does make a difference. I glanced at the code and it looks like in the insert-after case the whitespaces I talked earlier about are appended to ownerelement of the selected attribute using the appendChild() operation which doesn't cause any troubles. Jeroen -- X-Hive Corporation e-mail: [EMAIL PROTECTED] phone: +31 10 2818080 http://www.x-hive.com ---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------
