#29508

There is an API method

pd4ml.render(StringReader[] isrs, OutputStream os, URL base)

which is more-less what you need.

Alternatively I would recommend to merge the string array into a single string, delimited by tags, and to pass it to render() method as a StringReader.