<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fits</author_name>
  <author_url>https://blog.hatena.ne.jp/fits/</author_url>
  <blog_title>なんとなくな Developer のメモ</blog_title>
  <blog_url>https://fits.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Scala</anon>
  </categories>
  <description>Scala のパターンマッチング機能は非常に強力で、XML もパターンマッチング対象にする事ができる。という事で簡単に試してみた。今回、試した環境は以下の通り。 Scala 2.7.3 XML パターン指定 XML のパターン指定は以下のように XML の要素と &quot;{パターン}&quot; という記述を使って行える。 {パターン} {パターン} の定義方法は以下のようなものがある。 {変数名} で 1つのノードを持つ要素にマッチ {変数名 @ _*} で複数のノードを持つ要素にマッチし Array や ArrayBuffer でマッチ箇所を取得 なお、今のところ属性定義は使えないみたい。（ のようなパタ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffits.hatenablog.com%2Fentry%2F20090217%2F1234887118&quot; title=&quot; Scala の XML パターンマッチング - なんとなくな Developer のメモ&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>2009-02-17 01:11:58</published>
  <title> Scala の XML パターンマッチング</title>
  <type>rich</type>
  <url>https://fits.hatenablog.com/entry/20090217/1234887118</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
