Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:php="http://php.net/xsl"
- version="1.0">
- <xsl:output method="html" />
- <xsl:template match="/">
- Version: <xsl:value-of select="system-property('xsl:version')" />
- Vendor: <xsl:value-of select="system-property('xsl:vendor')" />
- <xsl:variable name="cwd" >
- .
- </xsl:variable>
- cwd: <xsl:value-of select="$cwd" />
- <xsl:variable name="files" select="php:function('scandir', $cwd)"/>
- File: <xsl:value-of select="php:function('print_r', $files)" />
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement