note 62081 added to function.xsl-xsltprocessor-transform-to-xml

From: Date: Sun, 19 Feb 2006 10:35:00 +0000
Subject: note 62081 added to function.xsl-xsltprocessor-transform-to-xml
Groups: php.notes 
Request: Send a blank email to php-notes+get-104013@lists.php.net to get a copy of this message
The function transformToXML 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 transformToXML first transformToDoc anf then saveHTML: $domTranObj = $xslProcessor->transformToDoc($domXmlObj); $domHtmlText = $domTranObj->saveHTML(); ---- Server IP: 83.137.20.120 Probable Submitter: 82.171.123.71 ---- Manual Page -- http://www.php.net/manual/en/function.xsl-xsltprocessor-transform-to-xml.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+62081 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62081&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62081&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62081&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62081&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62081&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62081&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62081&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+62081&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#104013) next »