Simply add this

9th December 2003 - 22:43
<?xml-stylesheet type="text/xsl" href="example.xsl"?>

Direct Linking

This is by far the simplest way to view your newly stylesheeted ( <= is that a word? ) XML file is to link it explicitly to the stylesheet. To do this simply add this as the second line in the XML file (view this file: example_final.xml)

Brandon Jones «Displaying XML with XSL Stylesheets»

… and simply add this line in the .htaccess file:

AddType text/xml .xml .xsl

Я даже знаю в каком браузере проверялась работоспособность примера. В самом стандартном.

Categories: PHP, Web-билдинг | comments: (0)

Комментарии временно отключены.