Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一个有效的 HTML 到 Java 中的 XHTML 库。我已经尝试过 HTML Tidy,但它会导致此错误:
XML Parsing Error: mismatched tag. Expected: </meta>.
你推荐更好的图书馆吗?
我感谢您的帮助。
“准确”的结果是什么意思?html 不是有效的合法 xml,因此将其转换为 xml 显然会改变它。你试过tagsoup吗?我以前用它来xml-ize html。
此外,您可能还想查看之前在此处提出的一些类似 问题