更多
常用参数:
- KeyAttr => [ list ] # in+out - important or KeyAttr => { list } # in+out - important 表示读取出来的dict中的key。
- ForceArray => 1 # in - important or ForceArray => [ names ] # in - important 表示dict中的子元素表示为array,而不是dict。
- NoAttr => 1 # in+out - handy 表示是否将子元素和属性都写为属性,读入时是否忽略属性。
- RootName => 'string' # out - handy 表示写xml时的root节点名字。
- KeepRoot => 1 # in+out - handy 表示是处理取root节点
xml-simple模块详细参考:http://search.cpan.org/~grantm/XML-Simple-2.18/lib/XML/Simple.pm