diff options
Diffstat (limited to 'dummy')
-rw-r--r-- | dummy/transform.xsl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/dummy/transform.xsl b/dummy/transform.xsl index 95467ca..62d28c2 100644 --- a/dummy/transform.xsl +++ b/dummy/transform.xsl @@ -24,7 +24,17 @@ </xsl:for-each> </ul> <ul id="filelist"> - <xsl:for-each select="external:read-directory('.')/content/item[@type='file']"> + <xsl:for-each select="external:read-directory('.')[@type='file']"> + <li><xsl:value-of select="."/></li> + </xsl:for-each> + </ul> + <ul id="filelist2"> + <xsl:for-each select="external:read-directory('../')[@type='file']"> + <li><xsl:value-of select="."/></li> + </xsl:for-each> + </ul> + <ul id="filelist3"> + <xsl:for-each select="external:read-directory('../')[@type='directory']"> <li><xsl:value-of select="."/></li> </xsl:for-each> </ul> |