Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
319
DOMNode Function insertBefore
PHP Version: (No version information might be only in CVS. I have used this function
in PHP5)
DOM: W3C
DOM Level 2
Description
This function adds new child at the end of the
children, if only one parameter is passed otherwise add the child before the
current child.
This function inserts the
new node newnode right before the node refnode. The return value is the inserted node. If
you plan to do further modifications on the appended child you must use the
returned node. If refnode is not supplied then newnode is appended to the children.