XML/XSL
Here are some xml/xsl tests and tools. Clicking the link will open the example into the frame below.
Project Name |
XML Source |
XSL Source |
Description |
GenericSort
|
genericSort.xml
|
genericSort.xsl
|
The XSL can take an XML of a very generic format with arbitrary tag names and provide a automatic ascendeing or descending sort.
Clicking on the column header will pick the column to sort on or reverse the sort order. The sort is by text, I'm going to enhance
this to correct the decimal sorting problem.
Rendering is done with a JSP. I couldn't get the xslt_create() to work in PHP, if you can help, please let me know.
|
|