Sign In/My Account | View Cart  
advertisement

Article:
 XML Namespaces Support in Python Tools, Part Three
Subject: nested namespaces
Date: 2004-08-02 10:28:24
From: Fredrik Lundh

The elementtree package contains an alternate parser that can be used to keep track of prefix scopes. For examples, see the "Handling Qualified Names in SOAP" section on this page:


http://effbot.org/zone/elementsoap-3.htm


And the ASCII/Unicode thing is intentional, of course (what else did you expect from the guy that wrote Python's Unicode string type? ;-). ElementTree uses 8-bit strings for ASCII data, Unicode strings for everything else.


Cheers /F


No Previous Message Previous Message   Next Message No Next Message


Sponsored By: