XML_Tree
[ class tree: XML_Tree ] [ index: XML_Tree ] [ all elements ]

Source for file cdata_sections_1.php

Documentation is available at cdata_sections_1.php

  1. <?php
  2.  
  3. require_once 'XML/Tree.php';
  4.  
  5. $tree = new XML_Tree;
  6.  
  7. $root =$tree->addRoot('root');
  8.  
  9. //$tree->useCdataSections();
  10.  
  11. $root->addChild('foo','bar');
  12.  
  13. $baz =$root->addChild('baz');
  14.  
  15. $baz->addChild('bat','qux'array()nulltrue);
  16. $baz->addChild('bat','quux'array()null);
  17. $baz->addChild(null'foo'array()nulltrue);
  18.  
  19. $tree->dump();
  20.  
  21. ?>

Documentation generated on Mon, 11 Mar 2019 15:34:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.