Morris
07/03/2018, 9:53 PMMichael Luu
07/05/2018, 2:51 AMMorris
07/05/2018, 1:23 PM<?xml version=\"1.0\"?>\n<!DOCTYPE pdf PUBLIC \"-//big.faceless.org//report\" \"report-1.1.dtd\">
2. make sure to only use this type of quotes "
not the ones you are using around the pdf urlsMorris
07/05/2018, 1:25 PMMichael Luu
07/05/2018, 2:37 PMMorris
07/05/2018, 2:40 PM&
has to be parsed to &
if you want you can parse it using the 'N/xml'
module and use this function
var cleanPdfURL = xml.escape({
xmlText: x
});
xml += '<pdf src="' + cleanPdfURL + '"></pdf>';
Michael Luu
07/05/2018, 3:13 PMMorris
07/05/2018, 4:19 PMMorris
07/05/2018, 4:19 PMMichael Luu
07/08/2018, 10:24 PM