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.
我正在寻找一种查询XML文件的方法,似乎XPath很推荐这种方法。唯一的问题是我找不到任何关于如何将其导入我的 maven pom 的文档。有谁知道细节?
XML
XPath
你可以试试
<dependency> <groupId>xalan</groupId> <artifactId>xalan</artifactId> <version>2.7.1</version> </dependency>
见http://xml.apache.org/xalan-j/