Skip to content

Conversation

@upengfei
Copy link

在实际使用中,我们会通过xpath 获取某个节点的文本进行比对,或其他操作。但原有的方法中没有这个操作,故增加了这个处理。
主要添加内容:
1、动态增加属性attrib_info,获取该节点下所有信息
2、_XMLElement 类中增加属性:info,text。info,对应获取attrib_info的信息;text,从attrib_info中的text属性中获取文本内容。

@codematrixer codematrixer merged commit 3a7d6c4 into codematrixer:master Jun 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants