Changeset 76 for trunk/main_html.xsl


Ignore:
Timestamp:
09/18/08 12:14:27 (16 years ago)
Author:
pinsard
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/main_html.xsl

    r58 r76  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>  
    2 <xsl:stylesheet  
     1<?xml version='1.0' encoding='ISO-8859-1'?> 
     2<xsl:stylesheet 
    33xmlns:d="http://docbook.org/ns/docbook" 
    4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  
     4xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
    55xmlns:html="http://www.w3.org/1999/xhtml" 
    6 version="1.0">  
     6version="1.0"> 
    77 
    8 <!-- 
    9 module : 
     8<!--rst 
     9NAME 
     10==== 
     11 
    1012transformation docbook en html avec formulaire 
    1113 
    12 update : 
     14EVOLUTIONS 
     15========== 
     16 
    1317$Id$ 
    14 fplod 2008-04-30T15:23:38Z aedon.locean-ipsl.upmc.fr (Darwin) 
    15 language inherited from biblio.xml 
    16 fplod 2008-04-28T11:02:38Z aedon.locean-ipsl.upmc.fr (Darwin) 
    17 input dbk5 
    18 fplod 2007-04-18T08:15:46Z aedon.locean-ipsl.upmc.fr (Darwin) 
    19 création 
     18 
     19- fplod 2008-09-17T10:23:44Z aedon.locean-ipsl.upmc.fr (Darwin) 
     20 
     21  * add a link to project homepage at the bottom of the page 
     22 
     23- fplod 2008-04-30T15:23:38Z aedon.locean-ipsl.upmc.fr (Darwin) 
     24 
     25  * language inherited from biblio.xml 
     26 
     27- fplod 2008-04-28T11:02:38Z aedon.locean-ipsl.upmc.fr (Darwin) 
     28 
     29  * input dbk5 
     30 
     31- fplod 2007-04-18T08:15:46Z aedon.locean-ipsl.upmc.fr (Darwin) 
     32 
     33  * création 
    2034--> 
    2135 
    2236<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> 
    2337 
    24 <xsl:output method="xml"  
    25 encoding="utf-8"  
    26 indent="yes"  
     38<xsl:output method="xml" 
     39encoding="utf-8" 
     40indent="yes" 
    2741omit-xml-declaration="yes" 
    28 doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"  
     42doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" 
    2943doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> 
    3044 
     
    4963  <xsl:with-param name="mode" select="'html'"/> 
    5064 </xsl:call-template> 
     65 
     66 <hr/> 
     67 <para> 
     68 <xsl:call-template name="back"> 
     69  <xsl:with-param name="language" select="document('biblio.xml')/d:bibliography/@xml:lang"/> 
     70 </xsl:call-template> 
     71 <xsl:text> </xsl:text> 
     72 <xsl:element name="a"> 
     73  <xsl:attribute name="href"> 
     74   <xsl:value-of select="document('main.xml')//d:bibliosource[@xml:id='homepage']"/> 
     75  </xsl:attribute> 
     76  <xsl:value-of select="document('main.xml')//d:keyword[@xml:id='project']"/> home page 
     77  </xsl:element> 
     78  </para> 
     79 
    5180</xsl:template> 
    5281 
    53 </xsl:stylesheet>  
     82</xsl:stylesheet> 
Note: See TracChangeset for help on using the changeset viewer.