ePublisher Platform XSLT Extensions
bool AppendFileWithFile (string targetPath, string sourcePath)
 
Appends one file to another file.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
targetPath
Full pathname of the target file.
sourcePath
Full pathname of the source file.
Returns:
True if it succeeds, false if it fails.
Append the contents of "C:\FileSampleDoc.txt" to "C:\OutputAllContent.txt".
<xsl:variable name="VarADoc">C:\\File\Sample\Doc.txt</xsl:variable>
<xsl:variable name = "VarAllDocs" > C:\\Output\All\Content.txt</xsl:variable>
<xsl:variable name = "ActionAppendingDocToAllContent" select="wwfilesystem:AppendFileWithFile($VarAllDocs, $VarADoc)" />