I am trying to use external XML to compare with other XML, but have a compilation error.
I use camel apache to compile.
Error:
DefaultErrorHandler ERROR Failed delivery for (MessageId: ID-DESKTOP-L78T6HF-57465-1476187649613-0-7 on ExchangeId: ID-DESKTOP-L78T6HF-57465-1476187649613-0-8). Exhausted after delivery attempt: 1 caught: javax.xml.transform.TransformerException: com.sun.org.apache.xalan.internal.xsltc.TransletException: com.sun.org.apache.xalan.internal.xsltc.TransletException: java.io.FileNotFoundException: E:/TestesCamel/to/qualis/estrato/qualis.xml
The error indicates that the file was not found, but the file is in this directory.
This is the part that has the error:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"/>
<xsl:template match="/">
<xsl:variable name="qualis" select="document('E:/TestesCamel/to/qualis/estrato/qualis.xml')"/>
<xsl:for-each select="$qualis/DATA">
.
.
</xsl:for-each>
</xsl:template>
Can anyone help me? Thanks
source
share