source: trunk/personal_db.xsl @ 11

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

initial import

File size: 2.6 KB
Line 
1<?xml version="1.0" encoding="iso-8859-1"?>
2
3<!--
4module :
5creation des élements personal de formulaire
6
7source :
8/usr/home/fplod/incas/bibnemo/src/bibnemomaf/personal_db.xsl sur aedon.locean-ipsl.upmc.fr
9
10update :
11fplod 2007-04-26T10:28:19Z 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="personal">
20 <xsl:param name="usernemo"/>
21 <xsl:param name="visu_modif"/> <!-- ++ readonly -->
22  <xsl:text>&#xA;</xsl:text>
23  <xsl:element name="fieldset">
24   <xsl:attribute name="id">personal</xsl:attribute>
25   <xsl:text>&#xA;</xsl:text>
26   <xsl:element name="legend">
27    Personal Information
28   </xsl:element>
29   <xsl:text>&#xA;</xsl:text>
30   <xsl:element name="label">
31     <xsl:text>Lastname: </xsl:text>
32     <xsl:text>&#xA;</xsl:text>
33     <xsl:element name="input">
34      <xsl:attribute name="name">personal_surname</xsl:attribute>
35      <xsl:attribute name="tabindex">1</xsl:attribute> 
36      <xsl:attribute name="type">text</xsl:attribute>
37      <xsl:attribute name="value"><xsl:value-of select="$usernemo/personname/surname"/></xsl:attribute> 
38    </xsl:element>
39   </xsl:element>
40   <xsl:text>&#xA;</xsl:text>
41   <xsl:element name="label">
42    <xsl:text>Firstname: </xsl:text>
43    <xsl:text>&#xA;</xsl:text>
44    <xsl:element name="input">
45     <xsl:attribute name="name">personal_firstname</xsl:attribute>
46     <xsl:attribute name="tabindex">2</xsl:attribute> 
47     <xsl:attribute name="type">text</xsl:attribute>
48     <xsl:attribute name="value"><xsl:value-of select="$usernemo/personname/firstname"/></xsl:attribute> 
49    </xsl:element>
50   </xsl:element>
51   <xsl:text>&#xA;</xsl:text>
52   <xsl:element name="label">
53    <xsl:text>Middlename: </xsl:text>
54    <xsl:text>&#xA;</xsl:text>
55    <xsl:element name="input">
56     <xsl:attribute name="name">personal_middlename</xsl:attribute>
57     <xsl:attribute name="tabindex">3</xsl:attribute> 
58     <xsl:attribute name="type">text</xsl:attribute>
59     <xsl:attribute name="value"></xsl:attribute>  <!--++-->
60    </xsl:element>
61   </xsl:element>
62   <xsl:text>&#xA;</xsl:text>
63   <xsl:element name="label">
64    <xsl:text>email: </xsl:text>
65    <xsl:text>&#xA;</xsl:text>
66    <xsl:element name="input">
67     <xsl:attribute name="name">personal_email</xsl:attribute>
68     <xsl:attribute name="tabindex">4</xsl:attribute> 
69     <xsl:attribute name="type">text</xsl:attribute>
70     <xsl:attribute name="value"></xsl:attribute> 
71     <xsl:attribute name="value"><xsl:value-of select="$usernemo/email"/></xsl:attribute> 
72    </xsl:element>
73   </xsl:element>
74  </xsl:element>
75</xsl:template>
76
77</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.