Hi,
Is there a way to specify CSS for the template by loading a CSS resource?
It could be added as the first part of the convertAndAppend(...) method:
Element styleElement = new Element("style");
// style: Need to get it from some CSS input stream
String style = "h1.test { background: yellow; }";
styleElement.setText(style);
flowNode.appendChild(styleElement);
...