XSLT use with PHP 5

Contents are outdated in here. I will have to clean up some day - DKS / March 2013

This example shows how to apply an XSLT stylesheet (*.xsl) to a *.xml file in order to produce *.svg with PHP 5. PHP 5 needs to read both xml in xslt into a dom object before.

Use a browser like Firefox 2x or Opera 9. Of course, you can also do this offline by using an xslt processor like saxon or xalan. I don't know how to do this client side (so that it works in cross-browser environment). I do not use IE for my stuff.


D.K.S.
Last modified: Thu Oct 25 19:42:34 CEST 2007
[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]HEADER.html2013-03-19 15:36 809  
[   ]news-call-template-svg.xsl2005-12-11 20:08 1.9K 
[IMG]news.svg2005-12-11 20:08 1.3K 
[   ]news.xml2005-12-11 19:53 1.6K 
[   ]news2-call-template-svg.xsl2013-03-19 14:16 1.7K 
[IMG]news2.svg2005-12-11 20:26 535  
[   ]news2.xml2013-03-19 14:02 1.6K 
[   ]news3-call-template-svg.xsl2005-12-13 18:26 1.8K 
[IMG]news3.svg2005-12-13 18:36 1.0K 
[   ]news3.xml2005-12-13 18:20 1.6K 
[   ]news4-call-template-svg.xsl2013-03-19 15:34 2.0K 
[   ]news4.xml2013-03-19 14:22 1.6K 
[IMG]simpleinline.svg2005-11-28 22:36 654  
[   ]simpleinline.xml2005-11-28 22:33 107  
[   ]simpleinline.xsl2007-10-25 19:47 801  
[   ]travaux-client-side.result.xml2006-11-27 17:21 7.1K 
[   ]travaux-client-side.xml2005-11-28 20:27 18K 
[   ]travaux-client-side.xsl2006-11-27 16:34 3.1K 
[   ]travaux-client-side2.result.xml2006-11-27 16:01 7.0K 
[   ]travaux-client-side2.xml2005-11-29 00:22 18K 
[   ]travaux-client-side2.xsl2006-11-27 16:05 3.4K 
[   ]travaux.dtd2005-03-04 17:17 2.4K 
[   ]travaux.php2018-05-15 19:30 768  
[   ]travaux.save.xsl2005-03-04 20:30 2.3K 
[IMG]travaux.svg2005-11-28 23:31 6.3K 
[   ]travaux.xml2005-12-01 12:20 18K 
[   ]travaux.xsl2007-10-05 18:43 2.6K