python xml库_最完整的Python xml包?
Without even checking them all out, I''m thinking the Amara XML Toolkitmust be the most feature-packed. The developers are readily availableon IRC for support and they seem to make regular releases.As
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
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐



所有评论(0)