<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>v416</author_name>
  <author_url>https://blog.hatena.ne.jp/v416/</author_url>
  <blog_title>４１６番地</blog_title>
  <blog_url>https://v416.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>enchant.js</anon>
  </categories>
  <description>Spriteを最前面に持ってくる関数 / HTML5 enchant.jschildNodesで入れ替えられるんじゃない？ と思ったけど無理だった。 childNodes.lengthで子ノードの個数を取得したりできたんで単なる配列と思っていたんだけど、表示のためにかいろいろ裏でやっているっぽい。そんじゃinsertBeforeはどうよと――と思ったが、Before、つまり前に挿入するわけで最前面、つまり子ノードの一番最後に追加することはできない。@RickyTheta氏の書く通り、最前面に持ってくるにはremoveChild＆addChildしか今のところ手がないようだ。じゃあ間に持ってきた…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fv416.hateblo.jp%2Fentry%2F20110728%2F1311950300&quot; title=&quot;enchant.jsにおけるノードの入れ替え - ４１６番地&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>2011-07-28 23:38:20</published>
  <title>enchant.jsにおけるノードの入れ替え</title>
  <type>rich</type>
  <url>https://v416.hateblo.jp/entry/20110728/1311950300</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
