我有一个包含数千个标签的XML文件来读取它们的文本内容,如下面的屏幕截图所示:我正在尝试使用此代码读取所有“word”标签的文本内容:StringfilePath="...";FilexmlFile=newFile(filePath);DocumentBuilderFactorydbf=DocumentBuilderFactory.newInstance();DocumentBuilderdb=dbf.newDocumentBuilder();DocumentdomObject=db.parse(xmlFile);domObject.getDocumentElement().norma