XPathEscaper
in package
Table of Contents
Methods
- escapeQuotes() : string
- Converts xpath strings with both quotes and ticks into: `foo'"bar` -> `concat('foo', "'" ,'"bar')`
Methods
escapeQuotes()
Converts xpath strings with both quotes and ticks into: `foo'"bar` -> `concat('foo', "'" ,'"bar')`
public
static escapeQuotes(string $xpathToEscape) : string
Parameters
- $xpathToEscape : string
-
The xpath to be converted.
Return values
string —The escaped string.