Perl LibXML findvalues(…) concatenates values
问题 I am trying to extract node values from an XML file using LibXML. When I call findvalue all of the nodes of the same element type are concatenated. I am totally new to using LibXML and I'm not the sharpest with Perl. Unfortunately the xml isn't the best. How can I extract single nodes? Below is sample XML and the output. The XML is a snippet from an iTunes library export. <playlists> <dict> <key>Name</key><string>Yes - Tales From Topographic Oceans</string> <key>Description</key><string><