diff options
author | Adrian Kummerländer | 2014-04-24 21:59:46 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-04-24 21:59:46 +0200 |
commit | ff92d0af44fa454d066f6ee3fe2becd97206b64e (patch) | |
tree | b9998826d95e85bf3f09104234f0ef8fa7bba2de /dummy | |
parent | a31fc1169edb33126242eb035dc038cbdea407e8 (diff) | |
download | InputXSLT-ff92d0af44fa454d066f6ee3fe2becd97206b64e.tar InputXSLT-ff92d0af44fa454d066f6ee3fe2becd97206b64e.tar.gz InputXSLT-ff92d0af44fa454d066f6ee3fe2becd97206b64e.tar.bz2 InputXSLT-ff92d0af44fa454d066f6ee3fe2becd97206b64e.tar.lz InputXSLT-ff92d0af44fa454d066f6ee3fe2becd97206b64e.tar.xz InputXSLT-ff92d0af44fa454d066f6ee3fe2becd97206b64e.tar.zst InputXSLT-ff92d0af44fa454d066f6ee3fe2becd97206b64e.zip |
Expanded FunctionReadDirectory class to return files and directories
* they are marked appropriately by a _type_ attribute
Diffstat (limited to 'dummy')
-rw-r--r-- | dummy/transform.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dummy/transform.xsl b/dummy/transform.xsl index 6dc45dc..95467ca 100644 --- a/dummy/transform.xsl +++ b/dummy/transform.xsl @@ -24,7 +24,7 @@ </xsl:for-each> </ul> <ul id="filelist"> - <xsl:for-each select="external:read-directory('.')/content/file"> + <xsl:for-each select="external:read-directory('.')/content/item[@type='file']"> <li><xsl:value-of select="."/></li> </xsl:for-each> </ul> |