Tool that will sort XML nodes

Posted on 2007-08-03
Medium Priority
Last Modified: 2010-05-18
Looking for a tool that will sort parent nodes based on children nodes. Any tools like that out there?
Question by:894359
1 Comment
LVL 13

Accepted Solution

R7AF earned 2000 total points
ID: 19628950
You can sort XML data using an XSLT stylesheet. This is not a "tool", but more a technique. So basically it does the following:

1) Read the XML
2) Transform the XML to a sorted version

What you need is:

a) XSLT engine like Saxon or Xalan that runs on your server
b) an XSLT stylesheet

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Loops Section Overview
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question