Image of a hub, © Paul Watson, CC  BY-NC-SA 2.0 The Linguistic Teaching resources Hub
Image © Paul Watson, Licence CC BY-NC-SA 2.0

The lxml.etree Tutorial

* Stefan Behnel *

Keywords: XML, parser, python, lxml, etree

http://lxml.de/tutorial.html

This tutorial explains XML processing with lxml.etree. The tutorial is based on easy-to-grasp examples. The representation of an XML tree is introduced. Elements can carry attributes and contain text().

The parsing of an XML file and the serialisation (writing) of a tree to XML is shown.

Feedback

Sorry, there is no feedback available. Be the first one to provide feedback!

Resource details

Institution:
Year of publication: 2014
Language: english
Type: Tutorial
Audience: python programmers
Level: basic
Prerequisites:

elementary Python and XML knowledge

Media: text/html
Objective:

XML processing with lxml.etree

Licence:
Access: open
Creation date: Wednesday, 8 October 2014 14:31:49
Last modified: Monday, 22 April 2024 00:00:50
BibTeX type: @misc
BibTeX entry:
@misc(TeLeMaCo:316,
author = "Behnel, Stefan",
title = "{T}he lxml.etree {T}utorial",
year = "2014",
url = "http://lxml.de/tutorial.html"
)
  

Helpdesk Button