Hi everyone,
I would like to add some text fomating in sections like the conclusion per example. I have created a for each loop on the conclusion's paragraph, like this:
¬conclusion/paragraph¬
µzzzzµ π.π
ƒcodeƒ π.π
ƒbulletƒ π.π
ƒitalicsƒ π.π
÷ π.π ≠
I have then, inserted some text in the conclusion part like the following:
here is the conclusion
- Bulleted text goes here -
- Bulleted text goes here -
[~~ Italics ]
[ Italics ~~]
unfortunetly, when I generate the word document, I just get a blank page.
I've checked in the database, and the paragraph tags are placed, as well as the bullet and italics tags.
<paragraph>here is the conclusion</paragraph><paragraph><bullet> Bulleted text goes here </bullet></paragraph><paragraph><bullet> Bulleted text goes here </bullet></paragraph><paragraph><italics> Italics </italics></paragraph><paragraph><italics> Italics </italics></paragraph>
From what I understand, it seems that the for each loop is not recognized when the template is transformed in xslt. This happen at the line 1326 of the report.rb file:
xslt = Nokogiri::XSLT(File.read(xslt_elem.xslt_location)) docx_xml = xslt.transform(Nokogiri::XML(report_xml))
Every other loop I have in any findings are working fine, it is really only related to for each loop out of the findings section.
If anyone already had this kind of behaviour, I would be pleased to have some information on how i can correct this.
Thank you!
Hi everyone,
I would like to add some text fomating in sections like the conclusion per example. I have created a for each loop on the conclusion's paragraph, like this:
¬conclusion/paragraph¬
µzzzzµ π.π
ƒcodeƒ π.π
ƒbulletƒ π.π
ƒitalicsƒ π.π
÷ π.π ≠
I have then, inserted some text in the conclusion part like the following:
here is the conclusion
- Bulleted text goes here -
- Bulleted text goes here -
[~~ Italics
]Italics ~~][
unfortunetly, when I generate the word document, I just get a blank page.
I've checked in the database, and the paragraph tags are placed, as well as the bullet and italics tags.
<paragraph>here is the conclusion</paragraph><paragraph><bullet> Bulleted text goes here </bullet></paragraph><paragraph><bullet> Bulleted text goes here </bullet></paragraph><paragraph><italics> Italics </italics></paragraph><paragraph><italics> Italics </italics></paragraph>From what I understand, it seems that the for each loop is not recognized when the template is transformed in xslt. This happen at the line 1326 of the report.rb file:
xslt = Nokogiri::XSLT(File.read(xslt_elem.xslt_location)) docx_xml = xslt.transform(Nokogiri::XML(report_xml))Every other loop I have in any findings are working fine, it is really only related to for each loop out of the findings section.
If anyone already had this kind of behaviour, I would be pleased to have some information on how i can correct this.
Thank you!