1 つの XML ファイルで 2 つの XML ノードを比較したいのですが、違いを比較して要約を書きます。
ここに私のxmlデータがあります:
<AuditLog>
<OldValue>
<ProcessCategory>
<CategoryId>3</CategoryId>
<ChildCategories />
<Created>2012-12-13T11:39:30.747</Created>
<Name>New category name</Name>
<ParentCategory />
</ProcessCategory>
</OldValue>
<NewValue>
<ProcessCategory>
<CategoryId>3</CategoryId>
<ChildCategories />
<Created>2012-12-13T11:39:30.747</Created>
<Name>Old Category name</Name>
<ParentCategory />
</ProcessCategory>
</NewValue>
</AuditLog>
次のような結果が必要です。
プロパティカテゴリ名の違い、旧値:「旧カテゴリ名」、新値:「新カテゴリ名」
誰でも私を助けてもらえますか?