<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wata_d</author_name>
  <author_url>https://blog.hatena.ne.jp/wata_d/</author_url>
  <blog_title>閑古鳥</blog_title>
  <blog_url>https://www.little-cuckoo.jp/</blog_url>
  <categories>
    <anon>programming</anon>
    <anon>Javascript</anon>
  </categories>
  <description>とある XML 文書のとある要素の内容を取得するために、 element.nodeValue なんてやると null が返ってきてしまってはまりました。とある要素、というのは以下のようなもの。 &lt;test&gt; &lt;elm&gt;aaa&lt;/elm&gt; &lt;/test&gt;elm 要素の値 (ここでは aaa) が欲しかったので、次のようなコードを書きました。 var elmValue = document.getElementsByTagName(&quot;elm&quot;)[0].nodeValue;で elmValue 変数の中身を見ると、 null になっていると。試行錯誤の結果、どうも XML 文書の場合、 elm 要素…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F20050821%2F1124626872&quot; title=&quot;nodeValueではまる - 閑古鳥&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-08-21 21:21:12</published>
  <title>nodeValueではまる</title>
  <type>rich</type>
  <url>https://www.little-cuckoo.jp/entry/20050821/1124626872</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
