This is a discussion on xpath query too long? within the PHP Language forums, part of the PHP Programming Forums category; I'm trying to run the following xpath query: /html/body/table[2]/tbody/tr[1]/td[2]/table[3]/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm trying to run the following xpath query:
/html/body/table[2]/tbody/tr[1]/td[2]/table[3]/tbody/tr/td/div/ table[1]/tbody/tr[position()>4] ....nothing happens. I'm using xpather firefox extension to simulate it, but PHP fails to run it. Is there an expression size limit? |
|
|||
|
On Jun 25, 2:43*am, mapper <caioigles...@gmail.com> wrote:
> I'm trying to run the following xpath query: > > /html/body/table[2]/tbody/tr[1]/td[2]/table[3]/tbody/tr/td/div/ > table[1]/tbody/tr[position()>4] > > ...nothing happens. > > I'm using xpather firefox extension to simulate it, but PHP fails to > run it. > > Is there an expression size limit? it turned out I had to skip two "tbody"s, now it works like this: /html/body/table[2]/tr[1]/td[2]/table[3]/tbody/tr/td/div//table[1]// tr[position()>4] thanks anyways |
![]() |
| Thread Tools | |
| Display Modes | |
|
|