<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>os0x</author_name>
  <author_url>https://blog.hatena.ne.jp/os0x/</author_url>
  <blog_title>os0x.blog</blog_title>
  <blog_url>https://os0x.hatenablog.com/</blog_url>
  <categories>
    <anon>XPath</anon>
  </categories>
  <description>document.evaluateと名前空間がわからない - by edvakf in hatenaへのレスです。document.contentTypeが&quot;application/xhtml+xml&quot;の場合、名前空間があるので、通常のXPathでは要素を取得できません。resolverとprefixが必要になります。*1で、m.twitterはHTTPヘッダーで Content-Type: application/xhtml+xml; charaset=UTF8; charset=utf-8を返しているので、XMLとして扱われ、そうでない大抵のサイトはHTML上でXHTMLを宣言していても、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fos0x.hatenablog.com%2Fentry%2F20081007%2F1223350124&quot; title=&quot;document.contentType == &amp;quot;application/xhtml+xml&amp;quot;なページでの$X - os0x.blog&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>2008-10-07 12:28:44</published>
  <title>document.contentType == &quot;application/xhtml+xml&quot;なページでの$X</title>
  <type>rich</type>
  <url>https://os0x.hatenablog.com/entry/20081007/1223350124</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
