Skip to content
Snippets Groups Projects
Commit a112d83c authored by Goik Martin's avatar Goik Martin
Browse files

»Pyramid« style animated SVG's

parent ee2b6ab3
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,16 @@
...</screen>
</figure>
<figure xml:id="pyramidFig">
<title>A <quote>pyramid</quote> type animated figure</title>
<mediaobject>
<imageobject>
<imagedata fileref="Ref/pyramid.multi.svg"/>
</imageobject>
</mediaobject>
</figure>
<figure xml:id="fig">
<title>An animated figure</title>
......
......@@ -2,8 +2,11 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:jessyink="https://launchpad.net/jessyink"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:d="http://docbook.org/ns/docbook">
......@@ -147,8 +150,12 @@
</file>
<xsl:result-document href="{$svgLayerBasefilename}.svg" exclude-result-prefixes="svg">
<svg xmlns="http://www.w3.org/2000/svg">
<xsl:copy-of select="$svgRoot/@*" />
<xsl:copy-of select="$svgRoot/@*"/>
<xsl:copy-of select="$svgRoot/*[not (name(.) = 'g')]"/>
<xsl:if test="contains(/svg:svg/svg:metadata/rdf:RDF/cc:Work/dc:description, 'meta:pyramid')">
<xsl:apply-templates select="following-sibling::svg:g[not(@jessyink:masterSlide)]" mode="sortLayer"/>
</xsl:if>
<xsl:apply-templates select="." mode="sortLayer"/>
<xsl:copy-of select="$masterSlide"/>
</svg>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment