07-09-2010, 06:33 PM
|
#7 (permalink)
|
|
The Contributor
Join Date: Nov 2007
Posts: 41
Thanks: 24
|
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
|
|
|
|