RE: [PHP] Re: Sorting parsed XML

2002-11-26 Thread Chris
Okay, that's neat and I get what you're saying with xml_process() to handle this. >From what I'm reading, it would not allow this sort of procedure, but please let me know otherwise: == echo "" . $ServerName; if ($ServerType) { echo " ("

Re: [PHP] Re: Sorting parsed XML

2002-11-26 Thread @ Edwin
"Geoff Hankerson" <[EMAIL PROTECTED]> wrote: > You don't need to do client-side transformation (although you could > check user agent and do it client-side if the browser supports it). > You can use Php's XSLT functions see the manual for more info. > > I was just suggesting this as a potential o

Re: [PHP] Re: Sorting parsed XML

2002-11-26 Thread Geoff Hankerson
You don't need to do client-side transformation (although you could check user agent and do it client-side if the browser supports it). You can use Php's XSLT functions see the manual for more info. I was just suggesting this as a potential option. It may not be appropriate in this situation. I

Re: [PHP] Re: Sorting parsed XML

2002-11-26 Thread @ Edwin
"Geoff Hankerson" <[EMAIL PROTECTED]> wrote: > This seems to me to be more easily handled by XSLT. (Not the only option > but a good one). > XSLT lets you select only the nodes you want and also sort them as well. Perhaps... but not all browsers support it. Anyway, you can also select the node

RE: [PHP] Re: Sorting parsed XML

2002-11-25 Thread Chris
Unavailable as I am reading an XML file produced by another web site and it dynamically updates the information on the sheet every 5 minutes or so. At least to my knowledge of what XSLT can do. > From: Geoff Hankerson [mailto:[EMAIL PROTECTED]] > > This seems to me to be more easily handled by

Re: [PHP] Re: Sorting parsed XML

2002-11-25 Thread Geoff Hankerson
This seems to me to be more easily handled by XSLT. (Not the only option but a good one). XSLT lets you select only the nodes you want and also sort them as well. @ Edwin wrote: Hello, "Chris" <[EMAIL PROTECTED]> wrote: I'm trying to write PHP code that will not only parse the XML but also

Re: [PHP] Re: Sorting parsed XML

2002-11-25 Thread @ Edwin
Hello, "Chris" <[EMAIL PROTECTED]> wrote: > I'm trying to write PHP code that will not only parse the XML but also > allow me to sort the parsed information by the values parsed. I'm not sure if I really understand but let me try... ...[snip code]... Adding echo ''; before this and > $xml_par