mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add omit xml declaration
This commit is contained in:
@@ -809,7 +809,7 @@ public class XmlUtil {
|
||||
|
||||
childEle = (Element) childNode;
|
||||
final Object value = result.get(childEle.getNodeName());
|
||||
Object newValue = null;
|
||||
Object newValue;
|
||||
if (childEle.hasChildNodes()) {
|
||||
// 子节点继续递归遍历
|
||||
final Map<String, Object> map = xmlToMap(childEle);
|
||||
|
Reference in New Issue
Block a user