[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 65 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CssSelectorConverter:: (2 methods):
__construct()
toXPath()
Class: CssSelectorConverter - X-Ref
CssSelectorConverter is the main entry point of the component and can convert CSS__construct(bool $html = true) X-Ref |
param: bool $html Whether HTML support should be enabled. Disable it for XML documents |
toXPath($cssExpr, $prefix = 'descendant-or-self::') X-Ref |
Translates a CSS expression to its XPath equivalent. Optionally, a prefix can be added to the resulting XPath expression with the $prefix parameter. param: string $cssExpr The CSS expression param: string $prefix An optional prefix for the XPath expression return: string |