XPath选择没有指定子节点的节点

Lit*_*ter 3 xml xpath nodes

<a>
   <b />
   <c />
</a>
<a1>
   <b />
</a1>
Run Code Online (Sandbox Code Playgroud)

如何选择没有指定子节点的节点?例如,在我的示例中,我需要所有节点,即没有c节点的a1

dog*_*ane 6

鉴于:

<root>
    <a>
        <b />
        <c />
    </a>
    <a1>
        <b />
    </a1>
</root>
Run Code Online (Sandbox Code Playgroud)

使用:/root/*[not(c)]

结果是a1