note 10189 added to xslt_process

From: Date: Mon, 18 Dec 2000 21:28:35 +0000
Subject: note 10189 added to xslt_process
Groups: php.notes 
Request: Send a blank email to php-notes+get-8864@lists.php.net to get a copy of this message
The example is wrong and for this function to work correctly you need to remove the leading carriage return after: <pre> $xmlData = ' </pre> Of course the XML document isn't even well formed as the <br>'s should be <br/>. The style sheet should also do a <xsl:copy-of select="body"> instead of a value-of so the <br>'s show up in the result. http://www.php.net/manual/function.xslt-process.php

« previous php.notes (#8864) next »