PDA

View Full Version : Sorting XML without XSL


MartinOShea
01-04-2007, 10:35 AM
Hello

I wonder if anyone can help with sorting output from an XML file before that output is processed?

What I have is:

var attList = xmlDoc.getElementsByTagName ('country');

This gives a list of country names and I want to sort it in various ways before displaying it in HTML tables.

I would prefer to avoid XSL if necessary.

Thanks

Martin.

MartinOShea
01-04-2007, 02:22 PM
I have since worked this out.

Thanks.

Martin.