PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
There is not a simpleXML method for sorting the data, however you can place them into a multidimensional array and sort that based on one of the values.
The idea looks good .. but is there any other native class (like DOMXML) through which i can straight away sort the document based on the element value? I have written myself the function to sort things out but is there a better and easier way?
I have searched through google and found xsl is one of the solutions but it looks tedious to me. Any information is greately appreciated.