KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am having a difficult time trying to do something that seems like it should be really easy to do. I basically want to multiply 2 numbers in a node and then sum the total of those numbers for all the nodes. Here is the XSLT code I have tried. <xsl:value-of select="sum(Parts/Part/Quantity * Parts/Part/Rate)"/> This code results in an error that says "Argument 1 of function sum cannot be converted to a node set." Does anyone have an idea of what is wrong or how I can accomplish what I am trying to do?
Tags (comma-separated)
Save Edits
Cancel