File: check.xsl

package info (click to toggle)
xmltex 1.9.debian.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,192 kB
  • ctags: 90
  • sloc: xml: 12,849; makefile: 80
file content (14 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 version="1.0"
  xmlns:saxon="http://icl.com/saxon"
  extension-element-prefixes="saxon">
<xsl:output indent="yes"/>
<xsl:template match="/">
  <xsl:for-each select="//eg">
    <saxon:output  method="xml" file="gob{generate-id()}.xml">
    <xsl:value-of 
    disable-output-escaping="yes" select="."/>    
    </saxon:output>
  </xsl:for-each>
</xsl:template>
</xsl:stylesheet>