xpath
xpath copied to clipboard
Cyrillic characters support
Changed type of field text of struct scanner into slice of rune to support cyrillic symbols. Since the Cyrillic character is encoded in two bytes, the length of the string does not equal the number of characters. Therefore, an error occurred when using Cyrillic characters.