How does one go about renaming an XML eleme开发者_StackOverflownt using REXML or another Ruby library?
Thanks for any advice.
Using Nokogiri:
my_node.node_name = "new_name"
How does one go about renaming an XML eleme开发者_StackOverflownt using REXML or another Ruby library?
Thanks for any advice.
Using Nokogiri:
my_node.node_name = "new_name"
精彩评论