File: manifest.xsl

package info (click to toggle)
swh-lv2 1.0.15%2B20111107.gitec6b85e-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 984 kB
  • sloc: xml: 11,701; ansic: 2,120; makefile: 103; sh: 19
file content (16 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="obj"/>
<xsl:output method="text" indent="no"/>
<xsl:template match="/">@prefix : &lt;http://lv2plug.in/ns/lv2core#&gt; .
@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
@prefix swh: &lt;http://plugin.org.uk/swh-plugins/&gt; .
@prefix dcterms: &lt;http://purl.org/dc/terms/&gt; .
<xsl:for-each select="ladspa/plugin">
swh:<xsl:value-of select="@label"/> a :Plugin ;
  :binary &lt;<xsl:value-of select="$obj"/>&gt; ;
  rdfs:seeAlso &lt;plugin.ttl&gt; ;
  dcterms:replaces &lt;urn:ladspa:<xsl:value-of select="@id"/>&gt; .
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>