Re: DOMNodeList::item Example 1 needs source file 'book.xml'
| From: | Sherif Ramadan | Date: | Sat, 09 Nov 2013 22:30:30 +0000 |
| Subject: | Re: DOMNodeList::item Example 1 needs source file 'book.xml' | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969384713@lists.php.net to get a copy of this message | ||
On Sat, Nov 9, 2013 at 5:01 PM, Hannes Magnusson <hannes.magnusson@gmail.com
> wrote:
> On Fri, Nov 8, 2013 at 5:49 PM, Rick Simeon <rgsimeon@yahoo.com> wrote:
> > 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 was sure we had it somewhere prominently in they main chapter as its
> used it several places.
> I can't even find it in our svn. I believe it was originally bundled
> with Docbook4, which isn't around anymore.. So the best I can give you
> at the moment is
>
>
> http://code.ohloh.net/file?fid=Gv1RoPBz_1ZYf92eQOSS6Fk4nHo&cid=CqchTZX9eBI&s=&fp=211192&mp=&projSelected=true#L0
>
> No clue where the original is though, but this seems to be the correct
> file :)
>
> -Hannes
>
I had to dig around here to remember exactly what I did, but a long time
ago I tried to update the book.xml example so that it could be globally
used in all of the various DOM* examples. I don't think I ever completed
that endeavor, by the looks of it.
The example I added can be found in en/language-snippets.ent (see revision
326834 http://svn.php.net/viewvc?view=revision&revision=326834)
However, I don't think this is the example you are looking for. Mine was
specifically created to be globally applicable to any of the DOM subtypes
since the existing one couldn't be used to demonstrate the use of
namespaces in XML.
I honestly don't think the referenced book.xml actually exists anywhere
anymore in the docs.