source: trunk/correction_db.xsl @ 51

Last change on this file since 51 was 49, checked in by pinsard, 16 years ago

improvements of .xsl files headers

  • Property svn:keywords set to Id
File size: 892 bytes
Line 
1<?xml version="1.0" encoding="iso-8859-1"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
4<!--
5module :
6creation of correction elements for form
7
8update :
9$Id$
10fplod 2007-04-26T11:56:32Z aedon.locean-ipsl.upmc.fr (Darwin)
11creation
12-->
13
14<xsl:template name="correction">
15 <xsl:param name="id"/>
16 <xsl:text>&#xA;</xsl:text>
17 <xsl:element name="fieldset">
18  <xsl:attribute name="id">field_correction_<xsl:value-of select="$id"/></xsl:attribute>
19  <xsl:text>&#xA;</xsl:text>
20   <xsl:element name="legend">
21     Correction
22   </xsl:element>
23   <xsl:text>&#xA;</xsl:text>
24   <xsl:element name="textarea"> 
25     <xsl:attribute name="name">correction_<xsl:value-of select="$id"/></xsl:attribute>
26     <xsl:attribute name="rows">2</xsl:attribute>
27     <xsl:attribute name="cols">100</xsl:attribute>
28   </xsl:element>
29 </xsl:element>
30</xsl:template>
31</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.