Thunderstone Software Document Search, Retrieval, and Management
Search:
Vortex Manual
 

xmlTreeCopyAttribute

 

SYNOPSIS

    xmlNode xmlTreeCopyAttribute(xmlNode target,
                                 xmlNode attribute)

Parameters:

  • target - the element that will receive the attribute

  • attribute - the attribute to be copied

Returns:

  • the newly created attribute on target


DESCRIPTION
xmlTreeCopyAttribute() copies an attribute from its original location on to another node. It leaves the original attribute intact, creating a duplicate of it for placing on target.


EXAMPLE

    <$newAttr = (xmlTreeCopyAttribute($target, $attr))>


SEE ALSO
xmlTreeCopyDoc, xmlTreeCopyNode, xmlTreeCopyNodeList, xmlTreeCopyAttribute, xmlTreeCopyAttributeList


Copyright © Thunderstone Software     Last updated: Mon Feb 18 10:28:15 EST 2013
 
Home   ::   Products   ::   Solutions   ::   How to Buy   ::   Support   ::   Contact Us   ::   News   ::   About
Copyright © 2013 Thunderstone Software LLC. All rights reserved.