Answers
Nov 11, 2006 - 01:03 AM
Read http://www.php.net/manual/en/function...
With PHP4 you may use the XSLT (Sablotron) extension or the DOM XML extension
PHP5 XSL is much more powerful and the way to go!
Nov 11, 2006 - 09:19 AM
Nov 11, 2006 - 01:36 PM
Nowadays XSL stylesheets are an important way to split logic and presentation.
You will find a bunch of hosting places offering the service searching at Google for the words: PHP hosting XSL OR XSLT
You may allways have a server at the office or at home and enable XSLT yourself.
Nov 11, 2006 - 03:17 PM
You may find other places with XSLT enabled, just ask for the phpinfo page
I do not know about any xslt library as php script.
Nov 12, 2006 - 05:26 AM
There is a free basic implementation (Saxon-B) for these platforms from Saxonica at http://saxon.sourceforge.net/
I have to try it some day.
Nov 12, 2006 - 09:08 AM
Nov 12, 2006 - 01:27 PM
Version 1 is short on functions but you can solve it using PHP5 functions in the stylesheet as stated before.
One think the version 1 lacks is node grouping to make grouped reports, but this is circumvented using "The Muenchian Method" (http://www.jenitennison.com/xslt/grou...)
A good XSLT 1 mini-tutorial is at http://w3schools.com/xsl/default.asp although you'd better go to the specs for the function list since theirs contains some extra (XSLT 2) functions.
Sometime ago I wrote an XSLT 1.0 example (called Tiles) that includes many features at the LiteratePrograms wiki http://en.literateprograms.org/Catego...
XSLT 2.0 / XPath 2.0 comes with more data types including a list type but its definition has to be specified in an XML Schema file, and everything related to Schemas is out of the Saxon free edition and requires the commercial "Saxon-SA (Schema Aware)" edition.
XSLT Specs: http://www.w3.org/Style/XSL/
XSLT 2.0 vs XSLT 1.0 links:
http://www.oreillynet.com/xml/blog/20...
http://www.xml.com/pub/a/2002/04/10/x...
Add New Comment