I am trying to parse this ARIN XML document. I want to get the "Name" property inside the orgRef tag, and when I call it HPCocot
I am doing this:
Doctor = HPricot (material) (doctor /: orgRef). OFFFF | Puts "element of the foundation!" End When I do (doctor /: net), it is doing some output, but for some reason this one element can not be found for any reason. I try (doctor /: net / yajfed) too. What is happening? Is ARIN intentionally made it impossible to parse this XML?
No problem, I understand. I had to do ipWebHost = (doctor / "net / orgraf") [0] ['name']
Comments
Post a Comment