note 76412 added to function.xsl-xsltprocessor-transform-to-uri

From: Date: Fri, 13 Jul 2007 19:32:04 +0000
Subject: note 76412 added to function.xsl-xsltprocessor-transform-to-uri
Groups: php.notes 
Request: Send a blank email to php-notes+get-128506@lists.php.net to get a copy of this message
Sometimes you don't want to transform to a file, an XML string (because you're using text or html), or a DOMDocument. To transform to standard output, you can use php://output <?php $proc->transformToURI($xml, 'php://output'); ?> To transform to a string (of HTML or text, instead of XML), you can use the above in conjunction with output buffering. <?php ob_start(); $proc->transformToURI($xml, 'php://output'); $outputString = ob_get_flush(); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 71.159.54.54 ---- Manual Page -- http://www.php.net/manual/en/function.xsl-xsltprocessor-transform-to-uri.php Edit -- https://master.php.net/note/edit/76412 Del: integrated -- https://master.php.net/note/delete/76412/integrated Del: useless -- https://master.php.net/note/delete/76412/useless Del: bad code -- https://master.php.net/note/delete/76412/bad+code Del: spam -- https://master.php.net/note/delete/76412/spam Del: non-english -- https://master.php.net/note/delete/76412/non-english Del: in docs -- https://master.php.net/note/delete/76412/in+docs Del: other reasons-- https://master.php.net/note/delete/76412 Reject -- https://master.php.net/note/reject/76412 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128506) next »