From ad3c73846dfed62eb478ba86b01959f96d459294 Mon Sep 17 00:00:00 2001 From: Nic Gibson Date: Sun, 14 Sep 2014 21:38:14 +0100 Subject: [PATCH] Added the ability generated resolved URIs for all components --- src/directory-list.xpl | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/directory-list.xpl b/src/directory-list.xpl index 84e6fe1..31476d2 100644 --- a/src/directory-list.xpl +++ b/src/directory-list.xpl @@ -1,9 +1,9 @@ @@ -26,8 +26,8 @@

Generate directory listings. The include and exclude filters are only applied to file - names and not to directories. The filters are implemented as regular expressions not - glob patterns. This seems more useful than the standard approach. We've implemented this + names and not to directories. The filters are implemented as regular expressions matching any + part of the file name. This seems more useful than the standard approach. We've implemented this by handling the pattern matches in xslt rather than in the p:directory-list step. The patterns are not required to match the whole path name (unless desired)

@@ -64,6 +64,7 @@

Directory names are not filtered and are always processed.

+

The match-path option determines whether or not the @@ -75,7 +76,14 @@ - + + +

The resolve options sets whether or not the uri + attribute is created for a directory or file. If set to true then + an additional attribute — uri — is set. This attribute contains + the resolved uri for any file or directory

+
+
@@ -99,16 +107,20 @@ Created on: Jun 4, 2014 Author: nicg - + Added resolve attribute - nicg - 14/09/2014 + + + + @@ -146,6 +158,8 @@ + +