pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / games / freeorion / fix-paths.xslt
blobf0db646b81ad569dbd384f7133dcf689f28fafba
1 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
2   <xsl:output method="xml" omit-xml-declaration="no" indent="yes" />
4   <xsl:template match='node() | @*'>
5     <xsl:copy>
6       <xsl:apply-templates select='node() | @*'/>
7     </xsl:copy>
8   </xsl:template>
10   <xsl:template match='//text()[starts-with(., "@nixStore@")]'>
11     <xsl:value-of select='concat("@out@", substring-after(substring-after(., "@nixStore@"), "/"))'/>
12   </xsl:template>
13 </xsl:stylesheet>