Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Here again--re: xml parsing for svg
#6
(10-27-2019, 08:49 AM)carmen Wrote:
Quote: ...you have to tell ElementTree that the default name space is the SVG name space...
That was what I couldn't figure out how to do!
I dare say that the information is in either
http://effbot.org/zone/pythondoc-element...ntTree.htm or
https://docs.python.org/2.7/library/xml....namespaces, or both,
but if so, I couldn't understand it.
Your explanation solved my problem... it's got to be a bad habit  Wink

Always glad to help. Two good places to get general Python help: the friendly python-forum.io (where I used to be quite active), and the more formal StackOverflow.

(10-27-2019, 08:49 AM)carmen Wrote: Thanks also for the pointer to using namedtuple--by the way, there is a trifling typo in <name>Options=createOpts, which should be <name>Options=createOptions: it surfaces if one does copy->paste without paying much attention (admidtedly, a vice...)

Thanks, fixed.

(10-27-2019, 08:49 AM)carmen Wrote: As an aside: I have collected all the html documentation of your Ofn-Paths (the ones I have downloaded and use) into an epub (as a replacement for old chm). As you are the author, I would upload you a copy, but... 2Mb!--lots of images! So, I upload instead a copy of the cover I have made for it.
At least, I hope you can take it as a joke...

Nice cover! But I hope you scripted the generation, because things change quite often.
Reply


Messages In This Thread
Here again--re: xml parsing for svg - by carmen - 10-25-2019, 09:28 PM
RE: Here again--re: xml parsing for svg - by Ofnuts - 10-27-2019, 10:12 AM

Forum Jump: