my $query = "//property[color = 'Blue']/OtherProperty/text()"; [download]
In reply to Re^2: Using XPath in libXML by ramrod in thread Using XPath in libXML by ramrod