I am using xsl-fo to generate pdf. HOwever I encounter
org.xml.sax.SAXException: Can't have more than one root on a DOM!
My code is as below:
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
Element root = doc.createElement("page")...
I am using xsl-fo to generate pdf. HOwever I encounter
org.xml.sax.SAXException: Can't have more than one root on a DOM!
My code is as below:
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
Element root = doc.createElement("page")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.