source: trunk/correction_db.xsl

Last change on this file was 323, checked in by pinsard, 11 years ago

fix for XSL documentations

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1<?xml version="1.0" encoding="iso-8859-1"?>
2<xsl:stylesheet
3version="1.0"
4xmlns:html="http://www.w3.org/1999/xhtml"
5xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
6
7<!--rst
8
9.. _correction_db.xsl:
10
11=================
12correction_db.xsl
13=================
14
15DESCRIPTION
16===========
17
18creation of correction elements for form
19
20EVOLUTIONS
21==========
22
23$Id$
24
25- fplod 2008-04-29T09:43:57Z aedon.locean-ipsl.upmc.fr (Darwin)
26
27  * chgt for dbk5
28
29- fplod 2007-04-26T11:56:32Z aedon.locean-ipsl.upmc.fr (Darwin)
30
31  * creation
32
33-->
34
35<xsl:template name="correction">
36 <xsl:param name="id"/>
37 <xsl:text>&#xA;</xsl:text>
38 <xsl:element name="html:fieldset">
39<!-- ++ pb to find unique id
40  <xsl:attribute name="xml:id">field_correction_<xsl:value-of select="$id"/></xsl:attribute>
41-->
42  <xsl:text>&#xA;</xsl:text>
43   <xsl:element name="html:legend">
44     Correction
45   </xsl:element>
46   <xsl:text>&#xA;</xsl:text>
47   <xsl:element name="html:textarea">
48     <xsl:attribute name="name">correction_<xsl:value-of select="$id"/></xsl:attribute>
49     <xsl:attribute name="rows">2</xsl:attribute>
50     <xsl:attribute name="cols">100</xsl:attribute>
51   </xsl:element>
52 </xsl:element>
53</xsl:template>
54</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.