php

TwitterFacebook
Get flash to fully experience Pearltrees
The following code is a wrapper to support calls to some of the old xslt_* functions: if (PHP_VERSION >= 5) { // Emulate the old xslt library functions function xslt_create() { return new XsltProcessor(); } function xslt_process($xsltproc, $xml_arg, $xsl_arg, $xslcontainer = null, $args = null, $params = null) { // Start with preparing the arguments $xml_arg = str_replace('arg:', '', $xml_arg); $xsl_arg = str_replace('arg:', '', $xsl_arg); // Create instances of the DomDocument class $xml = new DomDocument; $xsl = new DomDocument;

XSL

http://php.net/manual/en/book.xsl.php
http://www.tonymarston.net/php-mysql/dom.html By Tony Marston 22nd August 2004 Intended Audience Prerequisites Multiple occurrences of a single table A One-to-Many relationship Adding optional attributes Using Multi-Byte Characters Conclusion References Amendment History

Using PHP 5's DOM functions to create XML files from SQL data

By Tony Marston 22nd August 2004 Intended Audience Prerequisites A sample XML file - XML file contents A sample XSL file - XSL file contents XSL Include files - std.pagination.xsl - std.actionbar.xsl Performing the XSL Transformation - Creating an XSLT processor resource - Identifying and loading the XSL stylesheet - Identifying the XML document - Defining optional parameters - Invoking the XSLT process and displaying the result Sample output References Intended Audience

Using PHP 5's XSL extension to perform XSL Transformations

http://www.tonymarston.net/php-mysql/xsl.html
tutorials

frameworks

http://php.net/manual/fr/language.types.php

Les types

The differance of float and double dates back to a FORTRAN standard. In FORTRAN Variables aren't as loosly written as in PHP and you had to define variable types(OH NOES!). FLOAT or REAL*4 (For all you VAX people out there) defined the variable as a standard precision floating point, with 4 bytes of memory allocated to it.