开发者

Renaming XML elements in Ruby?

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"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜