source: trunk/comments_db.xsl @ 164

Last change on this file since 164 was 76, checked in by pinsard, 16 years ago

no more NEMO reference in XSL files; project information (name and home page are in main.xml

  • Property svn:keywords set to Id
File size: 1.0 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<!--
8module :
9creation of comments elements for form
10
11update :
12$Id$
13fplod 2008-04-29T09:07:06Z aedon.locean-ipsl.upmc.fr (Darwin)
14chgt for dbk5
15fplod 2007-04-26T11:56:32Z aedon.locean-ipsl.upmc.fr (Darwin)
16creation
17-->
18
19<xsl:template name="comments">
20 <xsl:param name="author_id"/>
21 <xsl:text>&#xA;</xsl:text>
22 <xsl:element name="html:fieldset">
23   <xsl:attribute name="xml:id">field_comments_<xsl:value-of select="$author_id"/></xsl:attribute>
24   <xsl:text>&#xA;</xsl:text>
25   <xsl:element name="html:legend">
26     Comments
27   </xsl:element>
28   <xsl:text>&#xA;</xsl:text>
29   <xsl:element name="html:textarea">
30     <xsl:attribute name="name">comments</xsl:attribute>
31     <xsl:attribute name="rows">5</xsl:attribute>
32     <xsl:attribute name="cols">100</xsl:attribute>
33   </xsl:element>
34 </xsl:element> <!-- end of fieldset comments -->
35</xsl:template>
36</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.