selenium IDE gave me following xpath for string on page called "System". However this string may appear somewhere other than this place in future.
//ul[@id='idCTree_sor_ul']/li/ul/li[23]/span
how can I rewrite above xpath by spcifying text()="System" in xpath , so in future if index of that string is moved would not impact on my xpath