このxml形式を変更したい
この xml ノードから:
<Loan>
<accountNumber>111111</accountNumber>
</Loan>
<Loan>
<accountNumber>222222</accountNumber>
</Loan>
この xml ノードに:
<HBItems>
<HBItem>
<Properties>
<Property>
<Code>LOAN_IDT</Code>
<Value>111111</Value>
</Property>
<Property>
<Code>LOAN_NUMBER</Code>
<Value>111111</Value>
</Property>
</Properties>
</HBItem>
<HBItem>
<Properties>
<Property>
<Code>LOAN_IDT</Code>
<Value>222222</Value>
</Property>
<Property>
<Code>LOAN_NUMBER</Code>
<Value>222222</Value>
</Property>
</Properties>
</HBItem>
</HBItems>
apply-template を使用して結果を達成するのを手伝ってもらえますか? この問題の助けに感謝します。