Copied!

XPath expression translator interface.

This component is a port of the Python cssselect library, which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.

AbstractInterface
Methods
public abstract cssToXPath(string $cssExpr, string $prefix = 'descendant-or-self::') : string
 

Translates a CSS selector to an XPath expression.

public abstract selectorToXPath(Symfony\Component\CssSelector\Node\SelectorNode $selector, string $prefix = 'descendant-or-self::') : string
 

Translates a parsed selector node to an XPath expression.

© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration