Click to See Complete Forum and Search --> : XML XSL & hidden Form Fields


frankki
04-25-2006, 10:32 PM
Hi All

I have no clue about XSL but it seems I will not be able to work aorund them...

Can someone of you please help me with a simple basic sample of an xsl that will display a rss feed but will put them in hidden form fields?

title, link description

But now comes the real problem:
as every input field should have its own name, how do I workaorund this?

Also: Could the items be sortable by date and/or category?

Sorry, I know this is quite a bit, and I read through most forums but I am not able to put this stuiff together in one file...

ANYONE willing to help please?

NogDog
04-26-2006, 03:56 PM
I'm not sure XSLT can sort your data for you (but I'm by no means an expert in this area, so I could be wrong). It seems like something that might be more in the realm of some server-side programming: parse the XML data into an array, then use the scripting language's array functions to sort it, then output it as desired.

tabzter
04-26-2006, 04:24 PM
The tool for this is probably a PHP5 module called simpleXML with which you can easily navigate the tree structure.
XSL only works inherently on IE, which is a bummer, so use NogDogs advice and use server-side processing

frankki
04-29-2006, 02:05 AM
Thanks for your feedback but unfortunately I am looking for what I posted :)
I need simple xsl, no server side processing asp, aspx or php...

Any feedback on how to create the xsl as described is welcomed :)