Mojo::DOM 解析XML开关

There's more than one way to do it!
https://metacpan.org http://perlmonks.org
回复
头像
523066680
Administrator
Administrator
帖子: 573
注册时间: 2016年07月19日 12:14
联系:

Mojo::DOM 解析XML开关

帖子 523066680 »

因为xml和html有些规则是不一样的,如果按html解读,标签会被自动转为小写,to_string时还可能发生其他变化。

Mojo::DOM->new->xml(1)->parse( $xml内容 );
回复

在线用户

正浏览此版面之用户: 没有注册用户 和 2 访客