user1198316
user1198316

Reputation: 267

Finding text within XML using nokogiri

I am attempting to get a value from an XML file.

So I have parsed the XML to get the correct container using:

Upvotes: 0

Views: 26

Answers (1)

choroba
choroba

Reputation: 241758

: is used to separate namespace prefix in an XPath expression. You rather need something like

//maskedcardaccount[contains(., '2345')]

Upvotes: 1

Related Questions