Anyone have any ideas how to solve this? A single quote throws me in a loop.
$nodes = $xml->xpath("//item[contains(@catalog,'Billy Blogs')]/title");
I tried to avoid this in many ways, all throwing errors:
$nodes = $xml->xpath("//item[contains(@catalog,'Billy\ Blogs')]/title"); $nodes = $xml->xpath("//item[contains(@catalog,'Billy's Blogs')]/title");
source share