in reply to Re^4: copy XML elements from one file to another
in thread copy XML elements from one file to another
I only got the following in my output file...Did you include the line $new->addChild($features); ?
<?xml version="1.0" encoding="utf-8"?>
a nice formatted outputDid you include the format argument 2 in $new->toFile($filename,2) ? You can also print $new->toString(2) when debugging.
|
|---|