xpath 获取meta里的keywords及description的方法

html中的head的meta元素中的keywords与description标签以下:html <meta name="keywords" content="xxxx" > <meta name="description" content="xxxx"> xpath获取属性使用@属性名就好了,如java //meta[@name='keywords']/@content //meta[@name
相关文章
相关标签/搜索