[EMAIL PROTECTED] wrote:
> In theory, namespace prefixes are entirely arbitrary and only serve as
> a temporary link to the namespace URI. In practice, people tend to get
> emotionally attached to their favorite prefixes. XPath also breaks this
> theory because it refers to prefixes rather than UR
Thanks Andrew & Oren, that should do the trick.
--
http://mail.python.org/mailman/listinfo/python-list
Matthew Thorley wrote:
> Does any one know if there a way to force the ElementTree module to
> print out name spaces 'correctly' rather than as ns0, ns1 etc? Or is
> there at least away to force it to include the correct name spaces in
> the output of tostring?
>
> I didn't see anything in the api
Matthew Thorley wrote:
> Does any one know if there a way to force the ElementTree module to
> print out name spaces 'correctly' rather than as ns0, ns1 etc? Or is
> there at least away to force it to include the correct name spaces in
> the output of tostring?
See http://online.effbot.org/2004_08
Does any one know if there a way to force the ElementTree module to
print out name spaces 'correctly' rather than as ns0, ns1 etc? Or is
there at least away to force it to include the correct name spaces in
the output of tostring?
I didn't see anything in the api docs or the list archive, but befo