On Mon 20 Jun 2016 12:52, Ricardo Wurmus <rek...@elephly.net> writes:
> Andy Wingo <wi...@pobox.com> writes: > >> Apologies for the long delay here. I'm with you regarding namespaces >> and sxml->xml. In the past I made sure to always get the namespaces >> attached to the root element via the @ xmlns attributes, and then have >> namespaced uses just be local names, not qnames, and that way sxml->xml >> works fine. But, perhaps that doesn't cover all cases in a nice way. >> Do you still have thoughts on this patch? Is the right thing for you? >> In any case we need better documentation in the manual about how to deal >> with namespaces and SXML, in practice, with examples. > > Here is another proposal, mirroring what is done in “xml->sxml”: Neat! Can you elaborate on how it is supposed to work? In a final form it would need documentation, tests, and an update to the docstring, but I'd be interested in some xml->sxml->xml round trips as an example. Andy