Re: Re: Sorting parsed XML
| From: | Geoff Hankerson | Date: | Tue, 26 Nov 2002 14:13:41 +0000 |
| Subject: | Re: Re: Sorting parsed XML | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126088@lists.php.net to get a copy of this message | ||
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 don't really know enough about the programming challenge we are looking at to say for sure
@ Edwin wrote:
"Geoff Hankerson" <ghank@millerdavis.com> 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 nodes in PHP and you can sort them as well. And you can do more than that... ;) - E