BizTalk Utilities CV ,   Jobs ,   Code library
 
Home Page


Add/Edit your code items
Search the code library
Browse for the code library


Uncategorized
WDDX Parser (updated bug)
DIME Parser and Generator (C#)
Flash menu using XML
Virtual Directory Utilities for IIS(C#)
ComSerialization
Re: Max() function
Stop Tailoring, Create Generic!!!
Introduction to WAP Push
Add xml binding to select list
Ontology Web Language
Wrapping multiple elements in a parent element
Anet XML Search Engine
Count Distinct
Superx++ Compiler and Runtime 1.0
XML Viewer
ALL UPPERCASE or all lowercase
Create an N-Column Table from XML node-set
Class Redefinition using Class Interfaces in Superx++
Object Reclassification: Choosing The Right Tool At The Right Time
XML Search Module for DotNetNuke


 
 

<< System.XMLWCF, WS, SOAP >>


By Siddhartha Singh
First Posted 08/14/2002
Times viewed 128

Grouping and Summing the values in XML


Summary Group the XML based on the GroupID and sum all the values of its PV values.

In this column I have grouped the XML based on the GroupID element by using the generate-id() function . Which generates unique keys used for indexing the key value. The key value is GroupID.

All the PV values of each groupID is then added and the sum is formatted till 6 decimal values.

 

Additional information

Further additional information


Rate this article on a scale of 1 to 10 (0 votes, average 0)

Your vote :  

<< System.XMLWCF, WS, SOAP >>





Leave a comment for this article
Your name
Your email (optional)
Your comment
Optional: Upload an attachment
Enter the code shown:

 
 

    Email TopXML