python xml库_最完整的Python xml包?

Without even checking them all out, I''m thinking the Amara XML Toolkit

must be the most feature-packed. The developers are readily available

on IRC for support and they seem to make regular releases.

As a meld3 user, I have been using ElementTree under the hood, but was

dismayed to find out that you can''t find elements by attribute and I

am finding it difficult to remove elements.

So I am out shopping for a new friend to grok XML.

Input welcome.

解决方案On Mar 13, 1:43 pm, "metaperl"

Without even checking them all out, I''m thinking the Amara XML Toolkit

must be the most feature-packed. The developers are readily available

on IRC for support and they seem to make regular releases.

As a meld3 user, I have been using ElementTree under the hood, but was

dismayed to find out that you can''t find elements by attribute and I

am finding it difficult to remove elements.

Hardly in competition with Amara or lxml, but I wrote this extension

to ElementTree which handles attributes to a limited extent:

http://gflanagan.net/site/python/utils/elementfilter/

(Be aware that parts of the filter string are ''eval-ed'')

Gerard

metaperl wrote:

Without even checking them all out, I''m thinking the Amara XML Toolkit

must be the most feature-packed.

Please check out lxml before you post FUD like this.

http://codespeak.net/lxml/

Regards,

Stefan

On 14 Mar, 16:15, Stefan Behnel

metaperl wrote:

Without even checking them all out, I''m thinking the Amara XML Toolkit

must be the most feature-packed.

Please check out lxml before you post FUD like this.

http://codespeak.net/lxml/

Calm down, Stefan! The inquirer must have got the impression of

Amara''s superiority from somewhere; all you need to do is to discover

which resource gave that impression and balance the situation out. In

any case, it''s an opinion: there''s no fear involved, and the only

uncertainty and doubt are in the inquirer''s mind, which I suppose is

why they posted the inquiry.

Paul

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值