Doc #62118 [Opn->Asn]: Useless code example
Edit report at https://bugs.php.net/bug.php?id=62118&edit=1
ID: 62118
Updated by: googleguy@php.net
Reported by: joluju at free dot fr
Summary: Useless code example
-Status: Open
+Status: Assigned
Type: Documentation Problem
Package: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: googleguy
Block user comment: N
Private report: N
New Comment:
I can understand that the example is not self-contained here, in that you
couldn't easily test the example code to see the result without supplying your
own XML. I can also understand that it stems from the
DOMDocument::getElementsByTagName() where the XML is indeed given in the example
code.
I'll update the example here to reflect on the XML used in the other related
method thereby making it self-contained as well.
Thanks for you feedback.
Previous Comments:
------------------------------------------------------------------------
[2012-05-23 08:32:01] joluju at free dot fr
Description:
------------
---
From manual page: http://www.php.net/domdocument.getelementbyid#refsect1-domdocument.getelementbyid-examples
---
Since the contents of book.xml is not shown, we don't learn anything from the example.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62118&edit=1
Thread (3 messages)