|
@@ -36,6 +36,9 @@ public class YiWuXmlUtil {
|
|
|
});
|
|
|
});
|
|
|
});
|
|
|
+ Element bodyTextElement = (Element) doc.selectSingleNode("//XTextDocument/BodyText");
|
|
|
+ String bodyText = bodyTextElement.getText();
|
|
|
+ map.put("原始文本", bodyText);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
map.clear();
|
|
@@ -73,7 +76,7 @@ public class YiWuXmlUtil {
|
|
|
//获取 XInputField 的键
|
|
|
private static String getXInputFieldKey(Element xInputFieldElement, String tablePreTxt) {
|
|
|
String key = null;
|
|
|
- String[] elementNames = { "ToolTip", "Name", "BackgroundText" };
|
|
|
+ String[] elementNames = { "Name", "BackgroundText", "ToolTip" };
|
|
|
for (String elementName : elementNames) {
|
|
|
key = xInputFieldElement.elementTextTrim(elementName);
|
|
|
if (StringUtil.isNotBlank(key)) {
|