I am performing a search in an XML file, using the following code:
$result = $xml->xpath("//StopPoint[contains(StopName, '$query')]");
Where $query is the search query, and StopName is the name of a bus stop. The problem is, it's case sensitive.
And not only that, I would also be able to search with non-english characters like ÆØÅæøå to return Norwegian names.
How is this possible?