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.
我设法使用 javax.xml.parsers.SAXParser 解析 XML 文件中的注释,但是有没有办法在 Java 中解析 org.apache.xerces.parsers.SAXParser 中的注释?一个简单的例子会很棒。谢谢
您需要实现LexicalHandler。