Dethe Elza •
Sep 17, 2004 • 1 min read
DOM back to XML in Python
OK, time to crank up to speed, it’s been a lot longer than I intended between posts.
In the last episode we learned how to initialize many of the DOMs and DOM-like tools for Python from an XML document. Today we’re going to see how to convert these back to XML from the DOM. So fasten your seatbelts and let’s go.
Read →
Dethe Elza •
Sep 15, 2004 • 1 min read
Initializing a DOM in Python
There are many DOM options in Python, and I have trouble remembering how to load a document into the various DOMs. Here are a few common ones, although there are many variations on them (loading from URL or string, different configurations, etc.). This should provide a starting point.
Read →
Dethe Elza •
Oct 13, 2001 • 8 min read
Conspiracy Theory
OK, everybody else has floated their crazy 9/11 conspiracy theories, including alleged US President Bush, so here’s mine. This is #3 because the first thing I thought when I heard planes had crashed into the World Trade Center was that the planes must have been running Windows, giving new meaning to “Blue Screen of Death.” My second thought I may go into later, but it involved Frank Herbert’s novel “Dune,” the movie “Three Days of the Condor,” and the CIA funding of Osama bin Laden. But that wasn’t crazy enough, so I kept thinking, and this is what I came up with.
Read →