View Single Post
Old 07-09-2010, 06:33 PM   #7 (permalink)
webosb
The Contributor
 
webosb's Avatar
 
Join Date: Nov 2007
Posts: 41
Thanks: 24
webosb is on a distinguished road
Default

Salathe, once again, thanks a million for introducing me to xslt. I played around with the code and got it working. I'm really starting to like XSL now.

If anyone wants to know how I got it to sort, here's what I did (hopefully it helps someone else):

<xsl:sort select="r25:start_date" order="ascending" />

Also, I had to edit the $xml->load line to $xml->load('http://username:password@blah.com/blah.xml');

I tried to use $xml->load($feed); but it returned an error and I also tried $xml->loadxml($feed); but still got an error. I need to figure how I can check the url for errors prior to loading it.
__________________
"Things you can get access to, you should never memorize." -Albert Einstein
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin
webosb is offline  
Reply With Quote