views:

19

answers:

1

How does one go about renaming an XML element using REXML or another Ruby library?

Thanks for any advice.

+1  A: 

Using Nokogiri:

my_node.node_name = "new_name"
floatless