CssSelectorConverter::toXPath( string $cssExpr, string $prefix = 'descendant-or-self::' )
Translates a CSS expression to its XPath equivalent.
Description Description
Optionally, a prefix can be added to the resulting XPath expression with the $prefix parameter.
Parameters Parameters
- $cssExpr
-
(Required) The CSS expression
- $prefix
-
(Optional) An optional prefix for the XPath expression
Default value: 'descendant-or-self::'
Return Return
(string)
Source Source
File: vendor/symfony/css-selector/CssSelectorConverter.php