{"image_url":null,"categories":["Ruby"],"url":"https://aoi-273.hatenadiary.org/entry/20090311/1236764850","height":"190","provider_url":"https://hatena.blog","title":"XML\u51e6\u7406\u3000REXML\u306e\u4f7f\u3044\u65b9","blog_url":"https://aoi-273.hatenadiary.org/","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30e0\u30e1\u30e2","provider_name":"Hatena Blog","published":"2009-03-11 18:47:30","description":"\u3088\u304f\u5fd8\u308c\u308b\u306e\u3067\u3002 \u3053\u3093\u306aXML\u3092\u7528\u610f\u3057\u305f\u5834\u5408\u306e\u4f8b\u3002 <root> <a name=\"a1\"> <b>bbb1</b> <b>bbb2</b> <b>bbb3</b> <c>ccc1</c> </a> <a> <b>bbb4</b> <b>bbb5</b> </a> <a name=\"a3\" price=\"100\"></a> </root> \u5fc5\u305arequire require 'rexml/document' XML\u8aad\u307f\u8fbc\u307f doc = REXML::Document.new(open(\"hoge.xml\")) \u3068\u308a\u3042\u3048\u305a\u5168\u6587dump puts doc #\u7d50\u679c <root> <a name='a\u2026","author_name":"aoi_273","version":"1.0","width":"100%","type":"rich","author_url":"https://blog.hatena.ne.jp/aoi_273/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Faoi-273.hatenadiary.org%2Fentry%2F20090311%2F1236764850\" title=\"XML\u51e6\u7406\u3000REXML\u306e\u4f7f\u3044\u65b9 - \u30d7\u30ed\u30b0\u30e9\u30e0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}