如何将一个包含HTML标签的String,输出为PDF文件。
如题。现在有一个字符串,就是一个HTML文件的内容,怎么用itext,导出为PDF文件?我的总报错。
org.xhtmlrenderer.util.XRRuntimeException: Can't load the XML resource (using TRaX transformer). org.xml.sax.SAXParseException: Open quote is expected for attribute "border" associated with an element type "TABLE".
补充:Java , Web 开发