From b6d8474034497dcb890e7a701bf658465249e24c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 23 Nov 2013 23:25:08 +0400 Subject: [PATCH] Document namespaces --- xml-ANNOUNCE | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xml-ANNOUNCE b/xml-ANNOUNCE index d77b2df..4ff97ef 100644 --- a/xml-ANNOUNCE +++ b/xml-ANNOUNCE @@ -38,6 +38,11 @@ values are reencoded to the console encoding. Text nodes and comments are collected in a file named "text", stripped and reencoded. The filesystem is read-only. +Implementation based on minidom doesn't understand namespaces, it just shows +them among other attributes. ElementTree-based implementation doesn't show +namespaces at all. Implementation based on lxml.etree shows namespaces in a +separate file "namespaces". + It is useful to have a top-down view on an XML structure but it's especially convenient to extract text values from tags. One can get, for example, a base64-encoded image - just walk down the VFS to the tag's directory and copy -- 2.39.2