我有以下XML源结构:
<Bills>
<bill ID ="02">
<Product IDP="MH001" amount="10" price="20"/>
<Product IDP="MH002" amount="20" price="20"/>
<Product IDP="MH003" amount="30" price="20"/>
<Product IDP="MH004" amount="50" price="20"/>
<Product IDP="MH005" amount="60" price="20"/>
</bill>
<bill ID ="01">
<Product IDP="MH101" amount="10" price="20"/>
<Product IDP="MH102" amount="10" price="20"/>
<Product IDP="MH103" amount="20" price="20"/>
<Product IDP="MH104" amount="20" price="20"/>
<Product IDP="MH105" amount="10" price="20"/>
</bill>
</Bills>
HTMX视图
如何计算总数?
请帮忙。非常感谢