An XPathFactory is only expected to know how to create XPath objects for one particular type of data model.
对于特定类型的数据模型,XPathFactory只需要知道如何创建XPath对象。
Since we know that in our model, we only expect to have a single name for each person's resource, we usually ignore the lowest level of lists anyway.
由于我们知道在我们的模型中,我们仅仅期望每个人的资源只有一个单一名称,所以我们无论如何总是忽略列表的最低一级。
You need to know how the Document Object Model (DOM) works only if you wish to change the code in this tutorial to suit your own applications.
只有当希望修改本教程中的代码以适应具体应用程序时才需要了解文档对象模型(DOM)的工作原理。
应用推荐