No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
If i use the SUM function to sum those node with d.p. value....the output in sometimes are look strange...... [U]XML File[/U] <allgroup> <group_1 id="1"> <salary>100000.01</salary> </group_1> <group_1 id="2"> <salary>89000.02</salary> </group_1> <group_1 id="3"> <salary>89000.03</salary> </group_1> <group_1 id="4"> <salary>89000.04</salary> </group_1> <group_1 id="5"> <salary>89000.05</salary> </group_1> </allgroup> [U]XSL File[/U] <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output encoding='utf-8'/> … |
|
Hi, I need to do some sorting of the XML file. First, group the group_1 first and then sort those group_1 block by SORT_ID and Salary. Second, group the group_2 and then sort those group_2 block by SORT_ID. I just try the below and it works if the XML only … |