1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/py-elementtree/pkg-descr
Simon Barner 98b01656eb Add py-elementtree 1.2, a container for hierarchical data
structures written in Python

PR:		ports/77640
Approved by:	arved (mentor)
2005-03-02 16:20:25 +00:00

20 lines
705 B
Plaintext

Adopted from the documentation:
The Element type is a flexible container object, designed to store hierarchical
data structures in memory. The type can be described as a cross between a list
and a dictionary.
Each element has a number of properties associated with it:
* a tag. This is a string identifying what kind of data this element
represents (the element type, in other words).
* a number of attributes, stored in a Python dictionary.
* a text string.
* an optional tail string.
* a number of child elements, stored in a Python sequence
The ElementTree class can be used to wrap an element structure, and convert it
from and to XML.
WWW: http://effbot.org/zone/element-index.htm