source: trunk/correction_db.xsl @ 8

Last change on this file since 8 was 2, checked in by smasson, 17 years ago

initial import

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