Hi,
I am recieving an error when using the result document function with SAXON 8.8.
Code:
<xsl:variable name="fname" select="subsequence(reverse(tokenize(document-uri(.), '//')), 1, 1)"/>
<xsl:result-document href="file:///c:/temp/{$fname}">
I am trying to save to to C:\temp\{filename here}
I gewt the folloing error:
The filename, directory name, or volume label syntax is incorrect
net.sf.saxon.trans.DynamicError: Exception thrown by OutputURIResolver
Am I allowed to pass a variable to the result document function?