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