|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [XSL] Sorting and Displaying Data
Hi all
This problem i am having is one of those where i could be really close or a mile off :), here goes anyway. I have database query results stored in an xml file eg. <query> <name>some query</name> <result>
<docname>some document</docname>
<doclocation>c:\blah\something.pdf</doclocation>
<category>jobs</category>
</result> <result>
<docname>some document</docname>
<doclocation>c:\blah\something.pdf</doclocation>
<category>jobs</category>
</result></query> How would i go about creating a hyperlink that would sort the results by category and display them. I've tried to create a template to match 'query' which sorts the results by category using xsl-sort and then displays them in a div area, this div is hidden upon loading but is accessed through a javascript function which shows the div area. However it never seems to work so i wondering if this is the best way to do this? Anybody got an ideas on how i could do this? thanks andy _________________________________________________________________ Winks & nudges are here - download MSN Messenger 7.0 today! http://messenger.msn.co.uk
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








