Discussion Locked

XML QUESTION

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My friend is looking for how to do something in XML - here's what he wrote......
he knows XML fairly well - but can't figure out for the life of him how to get it to ALPHABITZE the stuff...
There are lots of tutorials and stuff that assume he knows too much already apparently....
Please write a complete script that will pull the data from the following XML database and list the names in alphabetical order and display it on a webpage

Ed

Jeremy

Frank

3 replies

by jaqui

I would recommend your friend uses a perlscript cgi for the sorting, have it send it as the xml.
xml is more markup than data manipulation, designed for layout.
a scripting language has the tools for a sort already.
I'm not sure it's possible to run a sort in a layout language.

by sara l

Data is coming from a database, right? Can't you just use an ORDER BY clause in the SQL statement?

Just a thought.

This discussion is closed to new replies.