copy


Description:

public XML copy ()

Creates a copy of this, which should be freed with free .

Primarily used by language bindings, not that useful otherwise (since this can just be copied by assignment in C).

Parameters:

this

Root node of an XML tree.

Returns:

the newly allocated XML, which should be freed with free, or null if this was null.