#ElementTree
A lightweight, pure Go package that expresses XML as an element tree. Its design was inspired by the Python ElementTree module
#golang

github.com/beevik/etree
GitHub - beevik/etree: parse and generate XML easily in go
parse and generate XML easily in go. Contribute to beevik/etree development by creating an account on GitHub.
github.com
February 6, 2025 at 5:20 AM
Reworked the HTML table rendering code to use 100% ElementTree objects instead of strings.

The code is still in the very sloppy phase, but it works.
November 23, 2025 at 8:08 PM
Here's the payoff -- simdxml yields speedups on basically every workflow as a fully drop-in read-only replacement for etree in #python. And 42x on important workloads for large XML document handling. cigrainger.com/blog/simdxml... #foss
simdxml for Python: a faster ElementTree you don't have to rewrite for — Christopher Grainger
A read-only drop-in replacement for xml.etree.ElementTree backed by SIMD structural indexing.
cigrainger.com
March 27, 2026 at 10:11 PM
November 28, 2025 at 6:51 AM
O famoso Effbot pela sua rapidez ao responder dúvidas da comunidade. Tinha grande admiração por ele ter criado a lib ElementTree e a PIL.
August 12, 2025 at 12:32 AM
Experimenting with ElementTree in Python 3.13 for generating output from element objects. The indent() method is a little weird.
August 1, 2025 at 8:00 PM
Re: [oss-security][CVE-2026-7210] Cpython: The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection
oss-sec: Re: [oss-security][CVE-2026-7210] Cpython: The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection
Posted by Sebastian Pipping on May 11 This sentence ^^ deserves additional highlight. I confirm.
seclists.org
May 11, 2026 at 7:57 PM
Just today, Claude AI helped me understand some differences between lxml and ElementTree when building namespaces for a `` element for #commoncartridge , as well as background on the standard, all while we wrote some unit tests together. Most awesome.
November 27, 2024 at 12:44 AM
NLTK 3.10.2 and earlier can exhaust your process memory when attacker-controlled XML reaches its ACE, ElementWrapper or downloader parsers. CVE-2026-78681 uses recursive entity expansion. #software
September 8, 2026 at 6:21 PM
CVE-2026-78681 - NLTK before 3.10.3 Entity Expansion DoS via ElementTree
CVE ID : CVE-2026-78681

Published : Aug. 25, 2026, 1:30 a.m. | 34 minutes ago

Description : NLTK versions before 3.10.3 use xml.etree.ElementTree to parse XML in multiple modules, which honors entit...
CVE-2026-78681 - NLTK before 3.10.3 Entity Expansion DoS via ElementTree
NLTK versions before 3.10.3 use xml.etree.ElementTree to parse XML in multiple modules, which honors entity declarations in document DTDs. Attackers can craft XML payloads with nested entity declarations that expand from hundreds of bytes to megabytes in memory, causing denial of service.
cvefeed.io
August 25, 2026 at 2:20 AM
Sa .docx je situacija mrvicu kompliciranija… SitnoMekano je to složil isto kao zip arhivu ali sa OpenXML strukturom pa onda preimenovanje ne ide baš samo tako… otvoriš neki od .xml & rokaš tamo… kaze frendica da ima neka fora sa elementtree al moro bi to googlat jer nisam nikad. Prezirem SitnoMekano
September 30, 2025 at 8:19 PM
CVE-2026-7210 - The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection
CVE ID : CVE-2026-7210

Published : May 11, 2026, 6:16 p.m. | 14 minutes ago

Description : `xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy ...
CVE-2026-7210 - The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection
`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding.\r\n\r\nFully mitigating this vulnerability requires both updating libexpat to 2.8.0 or later and applying this patch.
cvefeed.io
May 11, 2026 at 7:35 PM
Need to create XML with #Python? Try the `xml` module. 🐍🔥

I prefer the ElementTree method, but the `xml` method has several other ways to work with XML too:
April 24, 2025 at 10:02 PM
Pythonで名前空間付きのXMLを操作する(ElementTree) #Python - Qiita qiita.com/yuki2006/ite...
October 13, 2024 at 1:52 PM
hm Plone is stuck on "Getting required elementtree" - waiting patiently
November 15, 2024 at 8:32 PM
I'm really happy that I had an idea AND managed to build it. It's a Python script that takes a public XML feed, makes a change my client requested, and publishes it as a new feed. It runs on Python Anywhere and uses the ElementTree library, both of which were new to me, so I've learned a lot #python
February 5, 2025 at 11:42 AM