<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m-hiyama</author_name>
  <author_url>https://blog.hatena.ne.jp/m-hiyama/</author_url>
  <blog_title>檜山正幸のキマイラ飼育記 (はてなBlog)</blog_title>
  <blog_url>https://m-hiyama.hatenablog.com/</blog_url>
  <categories>
    <anon>雑記／備忘</anon>
  </categories>
  <description>「XMLからJSONへの変換をどうすべかねぇ」より引用： スッキリした変換のほうがうれしい感じはします。しかし、メタ情報の参照というのはたいていは不吉なことで、破綻の入り口だったりしますので、どうすべきかの判断は難しいところです。 XML側のメタ情報を使うのはやっぱりイヤなので、XMLインスタンスだけを見てメタ情報なしで出来る簡約化を考えることにします。[追記]正規形の選び方がどうも間違ってます、後で考えなおします。[/追記] [追記の追記]修正案を「拡張JSONで表現したXMLの正規形」に書きました。[/追記の追記]簡約ルール次のデータを例題に使います。 @book { &quot;&quot; : [ @ti…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fm-hiyama.hatenablog.com%2Fentry%2F20100410%2F1270859793&quot; title=&quot;XMLからJSONへの変換はこうすべ -- eXtendedJSON-encoded XML - 檜山正幸のキマイラ飼育記 (はてな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>2010-04-10 09:36:33</published>
  <title>XMLからJSONへの変換はこうすべ -- eXtendedJSON-encoded XML</title>
  <type>rich</type>
  <url>https://m-hiyama.hatenablog.com/entry/20100410/1270859793</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
