Perl XML::LibXML Partial Match
How to tell XML开发者_运维知识库::LibXML to find nodes in a xml file by partial match, e.g. if the node contains 'Disc' or 'iso'.
(@discs) = $link->findnodes("./link[./description/text()='Disc.iso']");
Thanks
Use the XPath function contains
. Combine the expressions with the function or
.
精彩评论