mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 03:06:38 +02:00
✨ Add experiments directory.
This commit is contained in:
parent
dff038f4d7
commit
96d4c1e2fd
22 changed files with 1838 additions and 56 deletions
27
experiments/scripts/combine.xslt
Normal file
27
experiments/scripts/combine.xslt
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" ?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:lxslt="http://xml.apache.org/xslt"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<xsl:param name="prepend">default</xsl:param>
|
||||
<xsl:variable name="testvar"><xsl:value-of select="$prepend"/></xsl:variable>
|
||||
|
||||
<xsl:output method="xml" indent="yes"/>
|
||||
|
||||
<xsl:template match="*|@*|text()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="*|@*|text()"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="svg:svg">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*"/>
|
||||
<!--<xsl:value-of select="$testvar"/>-->
|
||||
<xsl:apply-templates select="document($prepend)/svg:svg/svg:g"/>
|
||||
<xsl:apply-templates select="svg:g"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue