static string toXPath(mixed $cssExpr, string $prefix = 'descendant-or-self::')
Translates a CSS expression to its XPath equivalent.
Optionally, a prefix can be added to the resulting XPath expression with the $prefix parameter.
static string toXPath(mixed $cssExpr, string $prefix = 'descendant-or-self::')
Translates a CSS expression to its XPath equivalent.
Optionally, a prefix can be added to the resulting XPath expression with the $prefix parameter.
mixed | $cssExpr | The CSS expression. |
string | $prefix | An optional prefix for the XPath expression. |
string |
Designed by : w10schools
service@w10schools.com
Please login to continue.