Skip to content

Commit cda1fe1

Browse files
authored
Add a README file
1 parent 430e577 commit cda1fe1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

lxml/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Some experimentations around Gramps XML and data handling
2+
3+
##'etreeGramplet' as set of built-in python module.
4+
Very basic (quick and dirty), but should run whatever plateform and any pure python standard ecosystem (built-in modules). Designed as a gramps addon.
5+
6+
##'lxmlGramplet' needs 'lxml' module.
7+
More powerful and more complex. Designed as a gramps addon.
8+
Many experimentations. Will generate some files from a Gramps XML.
9+
'''Gramps XML -to-> data'''
10+
11+
Some samples of validations and transformations.
12+
Methods and code might be old dated, but it is still fast and does the job.
13+
14+
See also https://gramps-project.org/wiki/index.php/Lxml_Gramplet
15+
16+
##'grampsxml.dtd', 'grampsxml.rng', 'grampsxml.xsd'
17+
related to validations via 'lxmlGramplet'
18+
19+
##'lxml.css', 'query_html.xsl'
20+
basic templates for displaying transformed data via 'lxmlGramplet'
21+
'''data -to-> Gramps XML'''
22+
23+
##'superclasses.py', 'subclasses.py'
24+
modules generated with generateDS (Dave Kuhlman)
25+
Did not use as production, rather an advanced documentation
26+
27+
##'xpaths_x_x_x.txt'
28+
For XPath addict.
29+
Can be used for parsing and handling tags and namespaces for most Gramps XML file versions.
30+
An alternate documentation

0 commit comments

Comments
 (0)