Changeset 55 for trunk/template_db.xsl
- Timestamp:
- 04/29/08 14:25:55 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template_db.xsl
r49 r55 1 1 <?xml version="1.0" encoding="iso-8859-1"?> 2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 2 <xsl:stylesheet 3 version="1.0" 4 xmlns:html="http://www.w3.org/1999/xhtml" 5 xmlns:xl="http://www.w3.org/1999/xlink" 6 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 3 7 4 8 <!-- … … 8 12 update : 9 13 $Id$ 14 fplod 2008-04-29T10:28:37Z aedon.locean-ipsl.upmc.fr (Darwin) 15 chgt for dbk5 16 fplod 2007-04-26T09:31:32Z aedon.locean-ipsl.upmc.fr (Darwin) 10 17 creation 11 fplod 2007-04-26T09:31:32Z aedon.locean-ipsl.upmc.fr (Darwin)12 18 --> 13 19 … … 16 22 indent="yes" 17 23 encoding="ISO-8859-1" 18 omit-xml-declaration="no" 19 doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 20 doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> 24 omit-xml-declaration="no"/> 21 25 22 26 <xsl:include href="form_db.xsl"/> … … 28 32 29 33 <xsl:template match="user[child::userid='template']"> 30 <article id="template_form" lang="en"> 34 <xsl:element name="article"> 35 <xsl:attribute name="version">5.0</xsl:attribute> 36 <xsl:attribute name="xmlns">http://docbook.org/ns/docbook</xsl:attribute> 37 <!--++ 38 <xsl:attribute name="xmlns:html">http://www.w3.org/1999/xhtml</xsl:attribute> 39 ++--> 40 <xsl:attribute name="xml:lang">en</xsl:attribute> 41 <xsl:attribute name="xml:id">template_form</xsl:attribute> 42 31 43 <title>Nemo Survey - Template</title> 32 < articleinfo>44 <info> 33 45 <authorgroup> 34 46 <author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author> … … 40 52 </keywordset> 41 53 <!-- ++ date --> 42 </ articleinfo>54 </info> 43 55 44 56 <xsl:comment> … … 48 60 <xsl:text>
</xsl:text> 49 61 <xsl:element name="sect1"> 50 <xsl:attribute name=" id">intro</xsl:attribute>62 <xsl:attribute name="xml:id">intro</xsl:attribute> 51 63 <title>Context</title> 52 64 <xsl:element name="para"> 53 65 The mail sent by filling this form will be used to update 54 < ulink url="main.php">Nemo-Publications-Papers</ulink>55 and < ulink url="user.html">Nemo Users</ulink>.66 <link xl:href="main.php">Nemo-Publications-Papers</link> 67 and <link xl:href="user.html">Nemo Users</link>. 56 68 </xsl:element> 57 69 </xsl:element> 58 70 <xsl:text>
</xsl:text> 59 71 <xsl:element name="sect1"> 60 <xsl:attribute name=" id"><xsl:value-of select="userid"/></xsl:attribute>72 <xsl:attribute name="xml:id"><xsl:value-of select="userid"/></xsl:attribute> 61 73 <xsl:text>
</xsl:text> 62 74 <xsl:choose> … … 83 95 <xsl:text>
</xsl:text> 84 96 </xsl:element> 85 </ article>97 </xsl:element> 86 98 </xsl:template> 87 99
Note: See TracChangeset
for help on using the changeset viewer.