Doc #67398 [Opn]: XSLTProcessor::transformToXML docs show incorrect param type
| From: | salathe@php.net | Date: | Fri, 28 Nov 2014 19:38:02 +0000 |
| Subject: | Doc #67398 [Opn]: XSLTProcessor::transformToXML docs show incorrect param type | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11708@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67398&edit=1
ID: 67398
Updated by: salathe@php.net
Reported by: mgcummings at yahoo dot com
Summary: XSLTProcessor::transformToXML docs show incorrect
param type
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Perhaps a speedier outcome might be to use the PHP Docbook Online Editor to create a patch to the
documentation for this change: https://edit.php.net/?project=PHP&perm=en/xsltprocessor.transformtoxml.php
The file can be worked on and, once satisfied, the change can be submitted as a patch to be reviewed
by a member of the documentation team. These generally get processed much quicker than bugs.
Previous Comments:
------------------------------------------------------------------------
[2014-11-28 16:38:42] mgcummings at yahoo dot com
Just wondering what's going on with this its now going on 6 months for a 5 minute fix to the
docs.
------------------------------------------------------------------------
[2014-06-08 15:19:42] mgcummings at yahoo dot com
Description:
------------
---
From manual page: http://www.php.net/xsltprocessor.transformtoxml
---
The documentation show only DOMDocument allowed but method actually allows both DOMDocument and
SimpleXMLElement as I have test in PHP version 5.3.x up through 5.5.x
It should look something like the following:
Description
-----------
string XSLTProcessor::transformToXML ( object $doc )
...
Parameters
----------
doc
The DOMDocument or SimpleXMLElement object to be transformed.
...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67398&edit=1