in reply to Xml::Twig:Xpath Xpath expression error

Try using @ in your Xpath statement to reference an attribute.

For example . . .
//OverallConnectionPoolStatus/FlowRater[@Name='Total.IncomingReq']