XSLT是扩展样式表转换语言 的外语缩写,这是一种对XML文档进行转化的语言,XSLT中的T代表英语中的“转换”。它是XSL(eXtensible Stylesheet Language)规范的一部分
abouts = html.xpath(“//div/p/descendant::text()”)
认为这个XPath应该能工作//id[starts-with(text(),'Annotaions')]
//id[starts-with(text(),'Annotaions')]
在XPath 2.0中:
string-join(/*/node()[not(self::p)], '')