Something Like:
$a = simplexml_load_string('<a><b/></a>'); $c = simplexml_load_string('<c><d>Foo</d></c>'); $a->b = $c->d; print_r($a);
Here's what I get:
Warning: It is not possible to assign complex types to nodes in D:\...\test.php on line 5
simplexml_element Object ( [b] => simplexml_element Object ( ) )
Thanks, -Dan
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php