xpath_eval problem in transformation output filename
Posted: Sat Dec 05, 2015 2:06 am
Hi there,
I'm trying to use ${xpath_eval} in a transformation scenario stored as part of a document type. The input file path is:
and the output save I'm using is this:
When I run the transformation, I get this error:
There seems to be some sort of problem caused by the underscore in the filename, but as far as I know there's nothing special about underscores in XPath regexes. Am I missing something obvious here?
Cheers,
Martin
I'm trying to use ${xpath_eval} in a transformation scenario stored as part of a document type. The input file path is:
Code: Select all
/media/Data/WorkData/ise/svnrepo/trunk/tei/input/noTitlePage/Pref/Pref_F1.txt
Code: Select all
${xpath_eval(replace('${cfne}', 'crude', 'tei')}
Code: Select all
Description
Cannot delete the file: /media/Data/WorkData/ise/svnrepo/trunk/tei/input/noTitlePage/Pref prior to result generation.
Severity
Error
System ID
/media/Data/WorkData/ise/svnrepo/trunk/tei/input/noTitlePage/Pref/Pref_F1_crude.xml
Scenario
ISE Crude XML to TEI
Document type
ISE_crude.xml
XML file
/media/Data/WorkData/ise/svnrepo/trunk/tei/input/noTitlePage/Pref/Pref_F1_crude.xml
XSL file
/home/mholmes/WorkData/ise/svnrepo/trunk/ise-tei/sgml-to-tei/xsl/crudeXmlToTei.xsl
Engine name
Saxon-HE 9.6.0.7
Cheers,
Martin