DOMNodeList::item Example 1 needs source file 'book.xml'

From: Date: Sat, 09 Nov 2013 01:49:43 +0000
Subject: DOMNodeList::item Example 1 needs source file 'book.xml'
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969384708@lists.php.net to get a copy of this message
Sir or Madam, Could you post the contents of the source file 'book.xml' at "domnodelist.item.php" Example 1, so that I may replicate the example results? I am trying to learn the DOMDocument API as it relates to manipulating an XML file in PHP.  Going through the documentation and replicating the examples is a valuable method of learning.  But, in order to replicate the example, one must have/know the source file used in the example.  Example 1 at "domnodelist.item.php" uses a source file of 'book.xml' and I cannot find it.  I found something close at "domdocument.xinclude.php", (the output of it's example 1). I have restructured that output into an XML file with a structure, I think, resembles what the true 'book.xml' file looks like. But I may be wrong. Regards Rick Simeon

« previous php.doc (#969384708) next »