我在处理这个 xslt 时遇到了困难,这让我在总结收到的总收据时感到头疼是一张包含 2 个办公室和每个客户 2 种产品总价值的表格。我是 xml 和 xslt 的新手,请帮助
<offices>
<office>
<customerproduct>
<Price>10</Price>
<Stock>20</Stock>
<Ordered>25</Ordered>
</customerproduct>
<customerproduct>
<Price>10</Price>
<Stock>2</Stock>
<Ordered>15</Ordered>
</customerproduct>
<receiptno.>1</receiptno.>
</office>
<office>
<customerproduct>
<Price>14</Price>
<Stock>20</Stock>
<Ordered>24</Ordered>
</customerproduct>
<customerproduct>
<Price>100</Price>
<Stock>2</Stock>
<Ordered>100</Ordered>
</customerproduct>
<receiptno.>2</receiptno.>
</office>
</offices>