4,861
edits
Changes
Xsl
,cleanup
[http://www.w3.org/Style/XSL/ XSL] is a family of transformation languages which allows us to describe how files encoded in the XML standard are to be formatted or transformed.
Some people use perl or python for retrieving some data from GEDCOM.
Gramps XML is [http://gramps-project.org/xml/1.4.0/ documented] and coherent, we may use it for :
* a database resume (output : HTML, XML, PS, PDF or SVG).
* filtering some data and transforming result ([[media:Ancestors.xsl.gz|Ancestors.xsl]], [[media:Birthday.xsl.gz|Birthday.xsl]] ).
* a bridge between two open programs (GRAMPS Gramps <-> [[tellico|Tellico]]).
* a web form.
==Examples==
* If you select GRAMPS Gramps object on XSL, and use this code with HTML output :
<img>
<xsl:attribute name="src">
Sample on a {{bug|2472}} bug-report.
* With XML, you will be able to make SVG. To generate a basic ancestors geographical map area with gramps Gramps coordinates.
For [[France]] area (dirty and quick test) :
[[File:Fr_coordonnées_positives.png|300px|thumb|center|Areas on East France]]