xpath

xpath

xpath 介绍

xpath(xml, xpath) - 返回匹配XPath表达式的xml节点中的值的字符串数组。

Examples:

> SELECT xpath('<a><b>b1</b><b>b2</b><b>b3</b><c>c1</c><c>c2</c></a>','a/b/text()');
 ["b1","b2","b3"]

Since: 2.0.0