method

replace_child

v2_6_3 - Show latest stable - Class: REXML::Parent
replace_child( to_replace, replacement )
public

Replaces one child with another, making sure the nodelist is correct @param to_replace the child to replace (must be a Child) @param replacement the child to insert into the nodelist (must be a Child)