xml_utils.py 文件源码

python
阅读 39 收藏 0 点赞 0 评论 0

项目:qal 作者: OptimalBPM 项目源码 文件源码
def xml_find_non_text_child(_node):
    """Finds the first child that is not of the Text node type."""
    nodelist = _node.childNodes
    for node in nodelist:
        if node.nodeType != node.TEXT_NODE:
            return node

    return None
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号