xmlNode xmlTreeCopyAttributeList(xmlNode target,
target - the
xmlNode that will receive the attribute list
attribute - the first attribute in the list to be copied
- the first attribute in the newly created list on
xmlTreeCopyAttributeList() copies an attribute and all following
attributes from their original to a new location. Note that the
attributes may appear in a different order than they do in the XML
xmlTreeCopyAttributeList() is often used to copy all attributes
from an element by using it in conjunction with
<$newAttr = (xmlTreeCopyAttributeList($target, $attr))>
The ordering of the attributes as provided by this function might NOT
be the same as the ordering of the attributes in the XML document.
This is legal, as the ordering of attributes is not significant in an
XML document (see section 3.1 of the XML spec).
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013