Project

Profile

Help

Support #3100 ยป training.xsl

Erik Wilde, 2017-01-10 19:02

 
<?xml version="1.0" encoding="UTF-8"?>
<!-- This XSLT is the starting point to transform https://github.com/dret/webconcepts -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:gpx="http://www.topografix.com/GPX/1/1" xmlns:saxon="http://saxon.sf.net/" version="3.0">
<!-- -->
<xsl:variable name="specs-dir" select="'Dropbox/training/'"/>
<xsl:variable name="allspecs" select="collection(concat($specs-dir, '?select=*.tcx'))"/>
<!-- -->
<xsl:template match="/">
<xsl:for-each select="$allspecs!saxon:discard-document(.)">
<xsl:value-of select="/gpx:gpx/gpx:trk/gpx:name"/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
    (1-1/1)