file-listing-local

<xsl:include href="../plugins/tenandtwo-xslt-processor/xsl/file.xsl" />

<xsl:call-template name="file-listing-local">
    <xsl:with-param name="path" select="$path" />
    <xsl:with-param name="match" select="$match" />
    <xsl:with-param name="levels" select="$levels" />
</xsl:call-template>

TEST 1 :
file-listing-local :
– path = uploads
– match = .xml$
– levels = 3

result :

  <RESULT template="file-listing-local">
    <file basename="four-recipes.xml" bytes="57136">/srv/plugins.tenandtwo.com/htdocs/wp-content/uploads/case-study-beer/four-recipes.xml</file>
    <file basename="Sheet1.xml" bytes="3780">/srv/plugins.tenandtwo.com/htdocs/wp-content/uploads/case-study-gsheets/Sheet1.xml</file>
    <file basename="upload_sample.xml" bytes="635">/srv/plugins.tenandtwo.com/htdocs/wp-content/uploads/upload_sample.xml</file>
  </RESULT>