<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kagasu</author_name>
  <author_url>https://blog.hatena.ne.jp/kagasu/</author_url>
  <blog_title>備忘録</blog_title>
  <blog_url>https://kagasu.hatenablog.com/</blog_url>
  <categories>
    <anon>Kotlin</anon>
  </categories>
  <description>Ⅰ. はじめに Ⅱ. dom4j を利用する方法 サンプルプログラム 実行結果 Ⅲ. javax.xml を利用した方法 サンプルプログラム 実行結果 Ⅰ. はじめに タイトルの通り「KotlinでXMLファイルの読み込み、書き込みを行う方法」です。この記事でサンプルとして利用するXMLファイルは以下の通りです。 input.xml &lt;?xml version='1.0' encoding='utf-8' standalone='no' ?&gt; &lt;map&gt; &lt;string name=&quot;name001&quot;&gt;value001&lt;/string&gt; &lt;string name=&quot;name002&quot;&gt;value0…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2018%2F12%2F01%2F151133&quot; title=&quot;KotlinでXMLファイルの読み込み、書き込みを行う方法 - 備忘録&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>2018-12-01 15:11:33</published>
  <title>KotlinでXMLファイルの読み込み、書き込みを行う方法</title>
  <type>rich</type>
  <url>https://kagasu.hatenablog.com/entry/2018/12/01/151133</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
