Clone XML node PHP
Posted
by Kemrop
on Stack Overflow
See other posts from Stack Overflow
or by Kemrop
Published on 2010-04-26T00:04:07Z
Indexed on
2010/04/26
0:13 UTC
Read the original article
Hit count: 137
php
I want to grab an xml node with its attributes plus all the chilren with their attributes and move them to a different node in the same XML file.I believe cloneNode is the most closest thing i can use.Right? Again to be more specific i am using DOM and Xpath to query the node.
© Stack Overflow or respective owner