原来的方式是从根节点,一般是html开始逐一向下进行元素定位,这种方式唯一缺点在于整个xpath语句会很长,比如: /html/body ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...