<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.hgotoh.jp/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>努力したWiki - documents:etl:pentaho:xml</title>
        <description>推敲の足りないメモ書き多数</description>
        <link>https://wiki.hgotoh.jp/</link>
        <lastBuildDate>Sun, 03 May 2026 18:27:14 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://wiki.hgotoh.jp/_media/wiki/logo.png</url>
            <title>努力したWiki</title>
            <link>https://wiki.hgotoh.jp/</link>
        </image>
        <item>
            <title>XML子要素の展開例1</title>
            <link>https://wiki.hgotoh.jp/documents/etl/pentaho/xml/pentaho-001</link>
            <description>XML子要素の展開例1

2023-11-29

行方向の展開と列方向への展開サンプル2例組み込み

希望の結果

custommersの子要素群を行方向に、optsの子要素群を列方向に展開する。

この例だと、

	*  要素recsの子要素であるrecの単位で出力する。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 20 Nov 2025 08:52:48 +0000</pubDate>
        </item>
        <item>
            <title>XML子要素の展開例2</title>
            <link>https://wiki.hgotoh.jp/documents/etl/pentaho/xml/pentaho-002</link>
            <description>XML子要素の展開例2

2023-11-30

子ノードが無い場合の例

希望の結果

bottom要素群を抜きだししたい。
 入力XML  出力  

&lt;top&gt;
  &lt;middle&gt;
    &lt;bottom&gt;bottom1&lt;/bottom&gt;
    &lt;bottom&gt;bottom2&lt;/bottom&gt;
    &lt;bottom&gt;bottom3&lt;/bottom&gt;
  &lt;/middle&gt;
  &lt;middle&gt;
    &lt;bottom&gt;bottom4&lt;/bottom&gt;
    &lt;bottom&gt;bottom5&lt;/bottom&gt;
    &lt;bottom&gt;bottom6&lt;/bottom&gt;
  &lt;/middle&gt;
&lt;/top&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 20 Nov 2025 08:52:48 +0000</pubDate>
        </item>
        <item>
            <title>XML子要素同士の結合と出力例1</title>
            <link>https://wiki.hgotoh.jp/documents/etl/pentaho/xml/pentaho-005</link>
            <description>XML子要素同士の結合と出力例1

2024-04-15

1つのXML内の階層が違うノード要素を組み合わせる例

出力ファイルを分割する場合はXML子要素同士の結合と出力例2を参照。

希望の結果

XML内のfactoriesノードとitemsノードを結合して1行にしたい。ファイルは複数ある。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 20 Nov 2025 08:53:05 +0000</pubDate>
        </item>
        <item>
            <title>XML子要素同士の結合と出力例2</title>
            <link>https://wiki.hgotoh.jp/documents/etl/pentaho/xml/pentaho-006</link>
            <description>XML子要素同士の結合と出力例2

2024-04-15

1つのXML内の階層が違うノード要素を組み合わせる例

XML子要素同士の結合と出力例1の続き。

希望の結果

入力したXML毎に出力も分けたい場合。

XML内のfactoriesノードとitemsノードを結合して1行にしたい。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 20 Nov 2025 08:53:06 +0000</pubDate>
        </item>
        <item>
            <title>XML子要素同士の結合と出力例3</title>
            <link>https://wiki.hgotoh.jp/documents/etl/pentaho/xml/pentaho-007</link>
            <description>XML子要素同士の結合と出力例3

2024-04-16

1つのXML内の階層が違うノード要素を組み合わせる例

フロー全体の動きはXML子要素同士の結合と出力例1を参照。

希望の結果

XML内のfactoryノードの抽出条件をもっと厳しくしたい。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 20 Nov 2025 08:53:06 +0000</pubDate>
        </item>
        <item>
            <title>XML操作関連</title>
            <link>https://wiki.hgotoh.jp/documents/etl/pentaho/xml/start</link>
            <description>XML操作関連

XMLの展開、結合例など</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 20 Nov 2025 08:50:13 +0000</pubDate>
        </item>
    </channel>
</rss>
