- require "nokogiri"
- xml = Nokogiri::XML(File.open("some_shit.xml"))
- xml.at_css("xmldata")
- # => nil
- xml.xpath("//soap12:Envelope")
- # => works, returns element and children
- xml.xpath("//soap12:Envelope//soap12:Body")
- # => works, returns element and children
- xml.xpath("//soap12:Envelope//soap12:Body//postdata")
- # => suddenly does not work, won't detect the <postdata> element