appendChild

Now that we've created a new cd node, we can add it to the existing DOMIT_Document using the appendChild method of a node.

As the method name implies, appendChild will add a child node to the end of a childNodes chain. Appending the new cd node to the cdLibrary node can therefore be done like this:

$cdCollection->documentElement->appendChild($newCDNode);


Documentation generated by ClassyDoc, using the DOMIT! and SAXY parsers.
Please visit Engage Interactive to download free copies.