XML->HTML using XSLT

From: Date: Wed, 01 Oct 2003 09:29:12 +0000
Subject: XML->HTML using XSLT
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-21634@lists.php.net to get a copy of this message
Thanks - especially Ken - for all the help. My aim was to make the use of my XML browser independent, so I tried to work with the XSLT extension but without much succes. I used this code from the manual and changed the filenames, but I get validation errors or nothing at all. I know the XML is working without PHP so I don't get it. Anyone? <? // Allocate a new XSLT processor $xh = xslt_create(); // Process the document xslt_process($xh, "webdev.xml", "menus.xsl", "result.xml") print "<pre>\n"; readfile("result.xml"); print "</pre>\n"; xslt_free($xh); ?>

« previous php.windows (#21634) next »