Re: [PHP] xpath help

2010-05-10 Thread Gary .
On 5/9/10, Peter Lind wrote: > On 9 May 2010 10:31, Gary wrote: >> If I have a document containing, say: >> ... >> >> How do I get at "bar2"? I tried everything, based on an xpath from >> Firebug (Firefox plugin), but kept getting NULL. >> > > try //table//font - that should give you all the font

Re: [PHP] xpath help

2010-05-09 Thread Peter Lind
On 9 May 2010 10:31, Gary wrote: > If I have a document containing, say: > >   >   >   >     >     foo1 >     bar1 >     >     >     >      foo2 >     >     >      bar2 >     >     > ... > > How do I get at "bar2"? I tried everything, based on an xpath from > Firebug (Firefox plugin), but ke

[PHP] xpath help

2010-05-09 Thread Gary
If I have a document containing, say: foo1 bar1 foo2 bar2 ... How do I get at "bar2"? I tried everything, based on an xpath from Firebug (Firefox plugin), but kept getting NULL. -- PHP General Mailing List (http://www.ph