View difference between Paste ID: PQgLn6EX and qF7s0aKX
SHOW: | | - or go back to the newest paste.
1
<html xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl" xsl:version="1.0">
2
<body style="font-family:Arial;font-size:10pt;background-color:#EEFFAA">
3
<xsl:for-each select="beers/beer">
4
<div style="background-color:teal;color:white;padding:4px">
5
<span style="font-weight:bold">
6
<xsl:value-of select="name"/>
7
- prout
8
</span>
9
<xsl:value-of select="price"/>
10
</div>
11
<div style="margin-left:20px;margin-bottom:1em;font-size:12pt">
12
<p>
13
<xsl:value-of select="description"/>
14
<span style="font-style:bold">
15
(
16
<xsl:value-of select="prct"/>
17
%)
18
</span>
19
</p>
20
</div>
21
</xsl:for-each>
22
 XSLT VERSION : <xsl:value-of select="system-property('xsl:version')"/>
23
 XSLT Vendor : <xsl:value-of select="system-property('xsl:vendor')"/>
24
 XSLT Vendor url : <xsl:value-of select="system-property('xsl:vendor-url')"/>
25
26
27-
LALA <xsl:variable name="test" select="php:function('file_get_contents','/challenge/web-serveur/ch50/index.php')"/>
27+
LALA <xsl:variable name="michel" select="php:function('file_get_contents','/challenge/web-serveur/ch50/index.php')"/>
28-
<xsl:value-of name="res" select="php:function('print_r', test)"/>
28+
<xsl:value-of select="php:function('print_r', michel)"/>
29
	
30
</body>
31
</html>