File: bug-115.xsl

package info (click to toggle)
libxslt 1.1.43-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,188 kB
  • sloc: xml: 66,120; ansic: 36,035; sh: 4,582; python: 3,206; makefile: 1,378; javascript: 470; perl: 34
file content (19 lines) | stat: -rw-r--r-- 1,527 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xmlns:exsl="http://exslt.org/common"
 extension-element-prefixes="exsl"
 exclude-result-prefixes="exsl">

<xsl:template match="/">
<root>
<xsl:variable name="pkglist">
<sqltable name="F9670" datasource="System - B7333"><colset xmlns:o="http://www.jdedwards.com/OLAF" column-count="18"><col p="1">SUPKGNAME</col><col p="2">SURLS</col><col p="3">SUFRLS</col><col p="4">SUTRLS</col><col p="5">SUDL01</col><col p="6">SUSUTYPE</col><col p="7">SUSUDATE</col></colset><sequencing xmlns:o="http://www.jdedwards.com/OLAF"><col>SUPKGNAME</col></sequencing><results><r><col>JD12367</col><col>B7333</col><col>B7333</col><col>JD12367</col><col>ESU_JD12367_10/2/01</col><col>01</col><col>10/2/2001</col></r><r><col>JD12860</col><col>B7333</col><col>B7333</col><col>JD12860</col><col>ESU_JD12860_11/13/01</col><col>01</col><col>11/14/2001</col></r><r><col>JD14724</col><col>B7333</col><col>B7333</col><col>JD14724</col><col>ESU_JD14724_4/2/02</col><col>01</col><col>4/3/2002</col></r><r><col>JD15448</col><col>B7333</col><col>B7333</col><col>JD15448</col><col>ESU_JD15448_5/28/02</col><col>01</col><col>5/29/2002</col></r></results></sqltable>
</xsl:variable>
<xsl:for-each select="exsl:node-set($pkglist)/sqltable/results/r">
<update name="{col[1]}" release="{col[2]}" from-release="{col[3]}" to-release="{col[4]}" description="{col[5]}"
  type="{col[6]}" date="{col[7]}">
</update>
</xsl:for-each>
</root>

</xsl:template>
</xsl:stylesheet>