The URI http://expath.org/ns/file does not identify an external Java class
Posted: Tue Mar 24, 2020 11:07 pm
Hi,
we are using our own version of maketoc and chunktoc (xslt 1). When we execute chunktoc, we have a template that copy a file into another place. Exemple:
Chunktoc uses Saxon 6.5.5. But when we try to execute the chuntoc, it displays this message:
The URI http://expath.org/ns/file does not identify an external Java class
Is there a way to copy without having to switch from saxon (we're very dependant on it)?
we are using our own version of maketoc and chunktoc (xslt 1). When we execute chunktoc, we have a template that copy a file into another place. Exemple:
Code: Select all
xmlns:file="http://expath.org/ns/file"
exclude-result-prefixes="file" version="1.0"
<xsl:template match="imagedata[@fileref='babyyoda.jpg']">
<xsl:value-of select="file:copy('C:\Users\stran\Documents\testarticle\babyyoda.jpg', 'C:\Users\stran\Documents\testarticle\assoc\babyyoda.jpg')"/>
</xsl:template>
The URI http://expath.org/ns/file does not identify an external Java class
Is there a way to copy without having to switch from saxon (we're very dependant on it)?