Xml XSL:如何求和?
我有以下XML源结构:Xml XSL:如何求和?,xml,xslt-1.0,xls,Xml,Xslt 1.0,Xls,我有以下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"/> <Produc
<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视图如何计算总数?
请帮忙。非常感谢您可能会发现我在这里的回答很有帮助,因为它本质上是同一个问题:
请发布您目前拥有的XSLT…需要使用解析数据,然后将其转换为int