Training Python Academy

Training goals dlearning

code: PA-HPXP

Since its early beginnings in 1998, the eXtensible Markup Language, XML, has grown into a standard markup language family for portable data formats. The major document formats, such as the Open Document Format (ODF) known from OpenOffice, or Microsoft's so-called OpenXML format, are based on XML, just like many application level networking protocols such as XML-RPC, SOAP or Jabber/XMPP. Many interfaces of business applications use either standardized, proprietary or ad-hoc XML formats, and their configuration files are often written in XML, too. And clearly, XML has left its fingerprint on the web through RSS/Atom feeds, Ajax interfaces and configurable browser GUIs (XHTML/XUL).

The support of XML in programming languages has constantly improved over the last decade. Today, developers can grab very efficient tools from their tool box that substantially simplify XML handling. Not surprisingly, the Python programming language has some very powerful tools available that often even beat their main contenders from the Java world in terms of performance, and easily in terms of usability.

The objective of this course if to get an understanding of important XML technologies, and to learn how to use the available tools by example.

Conspect Show list

  1. Introduction to XML
    • XML and the XML Infoset.
    • XML Namespaces.
    • Dealing with XML formats.
  2. Fast XML processing
    • Parsing and serializing XML files.
    • Extracting information from XML documents (tree navigation, XPath, CSS selectors).
    • Processing and transforming XML documents in main memory.
    • Generating XML documents.
    • Stream processing of large XML files that do not fit into main memory.
  3. Advanced topics
    • Creating proprietary XML formats.
    • Validating XML formats with schema languages (e.g. RelaxNG, Schematron).
    • Binding XML documents to Python objects (lxml.objectify).
    • Creating application specific XML APIs with lxml.
    • Introduction to stylesheet transformations (XSLT processing).
    • Note that the advanced topics are subject to time constraints. A choice will be made based on the interest of the participants.

Initially, the course will build up a common understanding of XML (specifically the XML Infoset) and some of its applications. The main theme then deals with efficient processing of XML (and a bit of HTML) in Python.

The presented tool set includes the ElementTree library that comes with Python since version 2.5, and the freely available lxml library that combines a compatible Python API with a large set of additional XML features.

Download conspect training as PDF

Additional information

  • Knowledge of Python language.
Difficulty level
Duration 2 days

The participants will obtain certificates signed by Python Academy.


Authorized Python Academy Trainer.

Other training Python Academy | On Demand

Training thematically related



Contact form

Please fill form below to obtain more info about this training.

* Fields marked with (*) are required !!!

Information on data processing by Compendium - Centrum Edukacyjne Spółka z o.o.

650 EUR


Discount codes

Discount code may refer to (training, producer, deadline). If you have a discount code, enter it in the appropriate field.
(green means entering the correct code | red means the code is incorrect)



Traditional training

Sessions organised at Compendium CE are usually held in our locations in Kraków and Warsaw, but also in venues designated by the client. The group participating in training meets at a specific place and specific time with a coach and actively participates in laboratory sessions.

Dlearning training

You may participate from at any place in the world. It is sufficient to have a computer (or, actually a tablet, or smartphone) connected to the Internet. Compendium CE provides each Distance Learning training participant with adequate software enabling connection to the Data Center. For more information, please visit site



Paper materials

Traditional Materials: The price includes standard materials issued in the form of paper books, printed or other, depending on the arrangements with the manufacturer.

Ctab materials

Ctab materials: the price includes ctab tablet and electronic training materials or traditional training materials and supplies provided electronically according to manufacturer's specifications (in PDF or EPUB form). The materials provided are adapted for display on ctab tablets. For more information, check out the ctab website.



No deadlines for this training.

Suggest your own appointment

Upcoming Python Academy training

Training schedule
Python Academy