Hébergeur de fichiers indépendant

squad.xsl

À propos du fichier

Type de fichier
Fichier XSL de 4 Ko (application/xml)
Confidentialité
Fichier public, envoyé le 13 février 2014 à 14:20, depuis l'adresse IP 109.9.x.x (France)
Sécurité
Ne contient aucun Virus ou Malware connus - Dernière vérification: 1 heure
Statistiques
La présente page de téléchargement a été vue 795 fois depuis l'envoi du fichier
Page de téléchargement

Aperçu du fichier


<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet
	version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="text()">
	<xsl:value-of select="."/>
</xsl:template>

<xsl:template match="*">
	<xsl:apply-templates/>
</xsl:template>

<xsl:template match="/">
	<HTML>
	<HEAD>
		<TITLE><xsl:value-of select="/squad/name"/></TITLE>
		<LINK REL="stylesheet" TYPE="text/css" HREF="squad.css"></LINK>
	</HEAD>
	<!--
	XSL template for "squad.xml", used in "Armed Assault" (Ref: "http://www.armedassault.com")
  
	See also the Arma-Wiki page: "http://community.bistudio.com/wiki/squad.xml"
  
	Created by TomNedry, 26.Jan07
	Lisence: Creative Common (http://creativecommons.org/licenses/by-nc-sa/2.5/deed.de)
	
	To have a squad logo in the HTML output, just put a "sqd_logo.png" in the same folder...
	-->
	<BODY>
	
	<!--Main TABLE -->
	<TABLE class="main">
	<TR>
	  <TD class="left_row" valign="top">
	  
	<!-- Squad Info Table -->
		<TABLE class="sqd_info">
			<TR height="30">
				<TD class="one">
					<DIV class="sqd_name">
						<xsl:value-of select="/squad/name"/>
					</DIV>
				</TD>
			</TR>
			<TR height="30">
				<TD class="two">
					<DIV class="sqd_title">
						<xsl:value-of select="/squad/title"/>
					</DIV>
				</TD>
			</TR>
			<TR height="100%">
				<TD width="100%" height="100%" valign="top">
					<DIV class="sqd_logo">
					<img src="sqd_logo.png" alt="Picture: Squad Logo"/>
					</DIV>
				</TD>
			</TR>
			<TR height="10">
				<TD class="sqd_website">
					Web site: 
					<A>
					   <xsl:attribute name="href">
					   http://<xsl:value-of select="/squad/web"/>
					   </xsl:attribute>
					   <xsl:value-of select="/squad/web"/>
					</A>
				</TD>
			</TR>
			<TR>
				<TD class="sqd_email">	
				 	e-mail:
					<A>
					  <xsl:attribute name="href">
					  mailto:<xsl:value-of select="/squad/email"/>
					  </xsl:attribute>
					  <xsl:value-of select="/squad/email"/>
					</A>
					
				</TD>
			</TR>
		</TABLE>
	<!-- Squad Info Table -->
		</TD>
		<TD class="right_row" valign="top">			
	<!-- Member-Info Table -->
						<TABLE class="member_info">
							<Tr>
								<Th>Members</Th>
								<Th>e-mail</Th>
								<Th>ICQ</Th>
							</Tr>
							<xsl:for-each select="/squad/member">
							<TR>
								<xsl:attribute name="class">
								  <xsl:choose>
								     <xsl:when test="position() mod 2 = 0">one</xsl:when>
								     <xsl:otherwise>two</xsl:otherwise>
								  </xsl:choose>
								</xsl:attribute>
								<TD class="member_name" rowspan="2">
								  <xsl:value-of select="name"/>
								</TD>
								<TD class="member_email">
								  <A>
								    <xsl:attribute name="href">
								      mailto:<xsl:value-of select="email"/>
								    </xsl:attribute>
								    <xsl:value-of select="email"/>
								  </A>
								</TD>
								<TD class="member_icq">
								  <xsl:value-of select="icq"/>
								</TD>
							</TR>
							<TR>
							<xsl:attribute name="class">
							  <xsl:choose>
							     <xsl:when test="position() mod 2 = 0">one</xsl:when>
							     <xsl:otherwise>two</xsl:otherwise>
							  </xsl:choose>
							</xsl:attribute>
								<TD  class="member_remark" colspan="2" valign="top">
								  <xsl:value-of select="remark"/>
								</TD>
							</TR>
							</xsl:for-each>
						</TABLE>
	<!-- Member Info Table -->
	
					
	<!--Main TABLE -->
	</TD>
	</TR>
	</TABLE>
	<p style="font-family:verdana;font-size:7pt;color:darkgrey;text-align:center;padding:10px;">
	"squad.xsl" by TomNedry, last change: 21.Jan07
	</p>
	</BODY>
	</HTML>
</xsl:template>

</xsl:stylesheet>


Partager le fichier squad.xsl sur le Web et les réseaux sociaux:


Télécharger le fichier squad.xsl


Télécharger squad.xsl