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