child ::nodename 选取所有属于当前节点的book 子元素,等价于'./nodename' >>> root.xpath('child::book') [<Element book at 0x2d888c8>, ...
確定! 回上一頁