note 62082 added to function.domxsltstylesheet-result-dump-mem
| From: | lsoethout at hotmail dot com | Date: | Sun, 19 Feb 2006 10:43:38 +0000 |
| Subject: | note 62082 added to function.domxsltstylesheet-result-dump-mem | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-104014@lists.php.net to get a copy of this message | ||
The function result_dump_mem has a problem with the meta content type tag. It outputs it like this:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
which is not correct X(HT)ML, because it closes with '>' instead of with
'/>'.
A way to get the output correct is to use instead of result_dump_mem :
$domHtmlText = $domTranObj->html_dump_mem();
or, as a second alternative:
$domHtmlText = $domTranObj->dump_mem(true);
----
Server IP: 83.137.20.120
Probable Submitter: 82.171.123.71
----
Manual Page -- http://www.php.net/manual/en/function.domxsltstylesheet-result-dump-mem.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+62082
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62082&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62082&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62082&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62082&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62082&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62082&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62082&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+62082&report=yes
Search -- http://master.php.net/manage/user-notes.php