File: list-to-def.xsl

package info (click to toggle)
gtkmathview 0.7.7-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,388 kB
  • ctags: 7,020
  • sloc: cpp: 51,304; xml: 12,643; sh: 8,996; makefile: 1,593; ansic: 1,149; perl: 88
file content (15 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="text"/>

<xsl:template match="tokens">
<xsl:apply-templates select="item"/>
</xsl:template>

<xsl:template match="item">  { T_<xsl:value-of select="@id"/>, "<xsl:value-of select="@literal"/>" },
</xsl:template>

</xsl:stylesheet>