Code: Select all
<xsl:for-each select="collection('DITA/?select=*.dita*')">
<data filename="{tokenize(document-uri(.), '/')[last()]}">
</xsl:for-each>
Shouldn't collection be returning nodes? The code continues to run without error if used outside of Oxygen, so what is causing this issue?