1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
| <xsl:template match="REFERENCE-BIBLIOGRAPHIQUE">
<xsl:choose>
<xsl:when test="count(//GENERATION-REFERENCES-SECT-BIBLIOGRAPHIE)">
<FONT CLASS="REFERENCE-BIBLIOGRAPHIQUE-NUMERO">[<xsl:number format="1" level="any"
from="INSERM-QUESTIONS-SANTE-EXPERTISE"/>
<xsl:for-each select="./REF-PAGE-DEBUT">
<xsl:if test="position()=1">:<xsl:value-of select="."/><xsl:if test="following-sibling::*[1][self::REF-PAGE-FIN]">-<xsl:value-of select="following-sibling::*[1]"/></xsl:if></xsl:if>]
<xsl:if test="position()>1">,<xsl:value-of select="."/><xsl:if test="following-sibling::*[1][self::REF-PAGE-FIN]">-<xsl:value-of select="following-sibling::*[1]"/></xsl:if></xsl:if>
</xsl:for-each>]</FONT>
</xsl:when>
<xsl:otherwise>
<FONT CLASS="REFERENCE-BIBLIOGRAPHIQUE-NUMERO">[<xsl:number format="1" level="any"
from="CHAPITRE-QUESTIONS|CHAPITRE-EXPERTISE|SYNTHESE|RECOMMANDATION-ANALYSE|RECOMMANDATION-SYNTHESE|
CHAPITRE-COMMUNICATION|SECT-INTRODUCTION|SECT-CONCLUSION"/>
<xsl:for-each select="./REF-PAGE-DEBUT">
<xsl:if test="position()=1">:<xsl:value-of select="."/><xsl:if test="following-sibling::*[1][self::REF-PAGE-FIN]">-<xsl:value-of select="following-sibling::*[1]"/></xsl:if></xsl:if>]
<xsl:if test="position()>1">,<xsl:value-of select="."/><xsl:if test="following-sibling::*[1][self::REF-PAGE-FIN]">-<xsl:value-of select="following-sibling::*[1]"/></xsl:if></xsl:if>
</xsl:for-each>]</FONT>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="REF-AUTEUR-LIST" mode="REF">
<xsl:apply-templates mode="REF"/><xsl:if test="not(count(REF-ANONYME))">.</xsl:if>
</xsl:template>
<xsl:template match="REF-ARTICLE-LIVRE|REF-LIVRE|REF-THESE" mode="REF">
<xsl:apply-templates mode="REF"/>.
</xsl:template>
<xsl:template match="REF-TITRE-ARTICLE|REF-TITRE-LIVRE|REF-NUMERO-EDITION|
REF-ARTICLE-LIVRE/REF-ANNEE|REF-LIVRE/REF-ANNEE|
REF-TYPE-THESE|REF-LIEU|REF-TITRE-SUJET|REF-PAYS" mode="REF">
<xsl:apply-templates/>.
</xsl:template>
<xsl:template match="REF-TYPE-ARTICLE" mode="REF">
{<xsl:apply-templates/>}
</xsl:template>
<xsl:template match="REF-AUTEUR" mode="REF">
<xsl:apply-templates mode="REF"/><xsl:if test="following-sibling::*[1][self::REF-AUTEUR]">,</xsl:if>
</xsl:template>
<xsl:template match="REF-NOM|REF-INITIALES-PRENOM" mode="REF">
<xsl:apply-templates/><xsl:if test="name()=REF-NOM"> </xsl:if>
</xsl:template>
<xsl:template match="REF-NOM-REVUE" mode="REF">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="REF-TITRE-ARTICLE">
<b>coucou</b>
</xsl:template>
<xsl:template match="REF-ARTICLE-REVUE/REF-ANNEE|REF-MAISON-EDITION|
REF-TITRE-CONF|REF-DATE" mode="REF">
<xsl:apply-templates/>;
</xsl:template>
<xsl:template match="REF-VOLUME|REF-VILLE" mode="REF">
<xsl:choose>
<xsl:when test="name()='REF-VILLE' and (name(..)='REF-CONF-PRO' or name(..)='REF-CONF')">
<xsl:apply-templates/>,
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates/>:
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="REF-SUPPLEMENT" mode="REF">
Suppl <xsl:apply-templates/>
</xsl:template>
<xsl:template match="REF-PARTIE" mode="REF">
<xsl:choose>
<xsl:when test="name(..)=REF-FASCICULE">
Pt <xsl:apply-templates/>
</xsl:when>
<xsl:otherwise>
(Pt <xsl:apply-templates/>)
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="REF-FASCICULE" mode="REF">
(<xsl:apply-templates/>)
</xsl:template>
<xsl:template match="REF-FASCICULE" mode="REF">
(<xsl:apply-templates/>)
</xsl:template>
<xsl:template match="REF-ORGANISME|REF-REDACTEUR|REF-NUMERO|REF-LIBRE" mode="REF">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="REF-ARTICLE-REVUE/REF-PAGE-DEBUT" mode="REF">
:<xsl:apply-templates mode="REF"/>
</xsl:template>
<xsl:template match="REF-ARTICLE-LIVRE/REF-PAGE-DEBUT" mode="REF">
p. <xsl:apply-templates mode="REF"/>
</xsl:template>
<xsl:template match="REF-GRP-EDITEUR" mode="REF">
In: <xsl:apply-templates mode="REF"/>editors.
</xsl:template>
<xsl:template match="REF-EDITEUR" mode="REF">
<xsl:apply-templates mode="REF"/>,
</xsl:template>
<xsl:template match="REF-ARTICLE-REVUE/REF-PAGE-FIN|REF-ARTICLE-LIVRE/REF-PAGE-FIN" mode="REF">
-<xsl:apply-templates mode="REF"/>
</xsl:template>
<xsl:template match="REF-NB-PAGES" mode="REF">
<xsl:apply-templates mode="REF"/> pages</xsl:template>
<xsl:template match="REF-PRENOM|REF-ANONYME" mode="REF">
</xsl:template> |
Partager