第 2 回 XML 相関ルールのマイニング

静的 XML 文書と動的 XML 文書から相関ルールを発見する

記事に戻る

図 8 の XML 文書のバージョン間の差分を統合した文書 (図 9) をテキストにしたもの
<catalog>
   <stamp time='T1' delta='modified'/>
   <stamp time='T2' delta='modified'/>
   <stamp time='T3' delta='modified'/>
   <product>
      <stamp time='T1' delta='modified'/>
      <stamp time='T2' delta='modified'/>
      <stamp time='T3' delta='modified'/>
      <status>Available</status>
      <name>Walkman
         <stamp time='T3' delta='modified'>Nice Walkman</stamp>
      </name>
      <descript>A very good one</descript>
      <price>150$</price>
         <stamp time='T1' delta='modified'>180$</stamp>
         <stamp time='T2' delta='modified'>250$</stamp>
      </price>
   </product>
   <product>
   <stamp time='T1' delta='modified'/>
   <stamp time='T2' delta='modified'/>
   <stamp time='T3' delta='deleted'/>
      <status>Not available
         <stamp time='T2' delta='modified'>Available</stamp>
      </status>
      <name>MP1</name>
      <price>200$
         <stamp time='T1' delta='deleted'/>
      </price>
      <description>a mobile phone</description>
   </product>
   <product>
      <stamp time='T1' delta='deleted'/>
      <status>Not available</status>
      <name>MP2</name>
      <description>another mobile phone</description>
   </product>
   <product>
   <stamp time='T2' delta='inserted'/>
   <stamp time='T3' delta='modified'/>
      <status>Available</status>
      <name>Suitcase</name>
      <price>500$
      <stamp time='T3' delta='modified'/>450$</stamp>
      </price>
      <description>red leather case</description>
   </product>
   <product>
      <stamp time='T3' delta='inserted'/>
      <status>Available</status>
      <name>BBQ set</name>
      <description>stainless steel bbq tools</description>
   </product>
</catalog>

記事に戻る