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
| <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:cml="http://tempuri.org/CryptML.xsd" exclude-result-prefixes="cml">
<xsl:output method="html" encoding="utf-8"/>
<xsl:template name="vignette">
<xsl:if test="not(cml:FICHIER)">
<img src="http://www.pagesimmo.com/images/pasphoto.gif" height="84px" width="113px"/>
</xsl:if>
<xsl:if test="cml:FICHIER">
<xsl:for-each select="cml:FICHIER">
<xsl:if test="cml:INDICE='1'">
<img src="{cml:FICHIER_JOINT/cml:NOM_FICHIER}" border="1" height="84px" width="113px"/>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:template>
<xsl:template match="ROOT">
</xsl:template>
<xsl:template match="cml:CRYPTML">
</xsl:template>
<xsl:template match="cml:TRANSFERT">
</xsl:template>
<xsl:template match="cml:EMETTEUR">
</xsl:template>
<xsl:template match="cml:DESTINATAIRE">
<html>
<head>
<xsl:element name="link">
<xsl:attribute name="rel">stylesheet</xsl:attribute>
<xsl:attribute name="type">text/css</xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="substring-before(substring-after(cml:DONNEE[cml:LIBELLE='Url_Request']/cml:VALEUR,'C_Rest=Css|!|'),'&')"/></xsl:attribute>
</xsl:element>
</head>
<body>.....</body>.... |
Partager