interface TranslatorInterface
XPath expression translator interface.
This component is a port of the Python cssselector library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
XPathExpr | cssToXPath(string $cssExpr, string $prefix = 'descendant-or-self::') Translates a CSS selector to an XPath expression. | |
XPathExpr | selectorToXPath(SelectorNode $selector, string $prefix = 'descendant-or-self::') Translates a parsed selector node to an XPath expression |
Translates a CSS selector to an XPath expression.
Translates a parsed selector node to an XPath expression
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/CssSelector/XPath/TranslatorInterface.html