Skip Navigation LinksHome Page > Forums > SpiraTeam Forums > Spira Custom Reports > Merging word document to ...
I need to append/merge the cover page in docx format to the exported spira report.
kindly let me know if anyone has tried to achieve the same or has any idea on merging to spira report.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
name:xsltToString('<xsl:value-of disable-output-escaping="yes" select='Name'/>'),
console.log('it works'); // any JS code here that works for example with releases array variable that is defined above
Here is an example.
First part: we are combining XSLT+JS to fill JS variable.
Second part: we are working with full JS power to get anything we need incl. word document to download.
Purely based on XSLT, you can dynamically add the word formatting for almost any feature supported by Word (although stuff like signature boxes takes some extra tweaking to get right)