In my process I need to transform a xdp file (the template part). For that, Im getting a xdp file from the repository to a xml variable. Then I apply a xslt template on that xdp and get a new xdp (in a xml variable). Finally I want to render this xdp to a pdf file, and this is where I get an error saying I need to give a content root ID. However, since Im trying to feed the form service with a template stream (in a xml variable) I dont have any content root... I believe I would be able to save the xdp variable to disk and then give a url to formservice, but I rather work only in memory, using variables.
Any idea on this?