Looking to start learning Python?

Begin Here

Tag: XML Parsing Series

Python: Creating XML with lxml.objectify

March 26, 2014 by Mike
The lxml.objectify sub-package is extremely handy for parsing and creating XML. In this article, we will show how to create XML using the lxml package. We'll start with some simple XML and then try to replicate it. Let's get started!

Python 101 - Intro to XML Parsing with ElementTree

April 30, 2013 by Mike
If you have followed this blog for a while, you may remember that we've covered several XML parsing libraries that are included with Python. In this article, we'll be continuing that series by taking a quick look at the ElementTree library. You will learn how to create an XML file, edit XML and parse the […]

Parsing XML and Creating a PDF Invoice with Python

July 18, 2012 by Mike
Note: The following post was originally published over on Dzone. I changed the title because I already wrote several XML parsing articles and don't want my readers to get this one confused with the others. One of the common tasks I am given in my day job is to take some data format input and […]

Parsing XML with Python using lxml.objectify

June 6, 2012 by Mike
A couple years ago I started a series of articles on XML parsing. I covered lxml's etree and Python's included minidom XML parsing library. For whatever reason I didn't notice lxml's objectify sub-package, but I saw it recently and decided I should check it out. To my mind, the objectify module seems to be even […]

Python: Parsing XML with lxml

November 20, 2010 by Mike
Last time, we looked at one of Python's built-in XML parsers. In this article, we will look at the fun third-party package, lxml from codespeak. It uses the ElementTree API, among other things. The lxml package has XPath and XSLT support, includes an API for SAX and a C-level API for compatibility with C/Pyrex modules. […]

Python: Parsing XML with minidom

November 12, 2010 by Mike
If you're a long time reader, you may remember that I started programming Python in 2006. Within a year or so, my employer decided to move away from Microsoft Exchange to the open source Zimbra client. Zimbra is an alright client, but it was missing a good way to alert the user to the fact […]
View More

End of content

No more pages to load

Copyright © 2024 Mouse Vs Python | Powered by Pythonlibrary