Changeset 55 for trunk/template_db.xsl


Ignore:
Timestamp:
04/29/08 14:25:55 (16 years ago)
Author:
pinsard
Message:

migration to docbook5 except biblio.xml; improvement of makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template_db.xsl

    r49 r55  
    11<?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 
     3version="1.0" 
     4xmlns:html="http://www.w3.org/1999/xhtml" 
     5xmlns:xl="http://www.w3.org/1999/xlink" 
     6xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    37 
    48<!-- 
     
    812update : 
    913$Id$ 
     14fplod 2008-04-29T10:28:37Z aedon.locean-ipsl.upmc.fr (Darwin) 
     15chgt for dbk5 
     16fplod 2007-04-26T09:31:32Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1017creation 
    11 fplod 2007-04-26T09:31:32Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1218--> 
    1319 
     
    1622 indent="yes" 
    1723 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"/> 
    2125 
    2226<xsl:include href="form_db.xsl"/> 
     
    2832 
    2933<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 
    3143 <title>Nemo Survey - Template</title> 
    32 <articleinfo> 
     44<info> 
    3345<authorgroup> 
    3446<author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname></author> 
     
    4052</keywordset> 
    4153<!-- ++ date --> 
    42 </articleinfo> 
     54</info> 
    4355 
    4456 <xsl:comment>  
     
    4860 <xsl:text>&#xA;</xsl:text> 
    4961 <xsl:element name="sect1"> 
    50   <xsl:attribute name="id">intro</xsl:attribute> 
     62  <xsl:attribute name="xml:id">intro</xsl:attribute> 
    5163  <title>Context</title> 
    5264  <xsl:element name="para"> 
    5365   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> 
     67and <link xl:href="user.html">Nemo Users</link>. 
    5668  </xsl:element> 
    5769 </xsl:element> 
    5870 <xsl:text>&#xA;</xsl:text> 
    5971 <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> 
    6173  <xsl:text>&#xA;</xsl:text> 
    6274  <xsl:choose> 
     
    8395 <xsl:text>&#xA;</xsl:text> 
    8496 </xsl:element> 
    85 </article> 
     97</xsl:element> 
    8698</xsl:template> 
    8799 
Note: See TracChangeset for help on using the changeset viewer.