script for searching elements with attribute set
Goto page Previous 1, 2, 3, 4 Next
|
| View previous topic :: View next topic |
| Author |
Message |
plantino
Joined: 13 May 2006 Posts: 96
|
To count matches without the overhead of retreiving them
Just an example |
| |
|
|
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| Oh okay |
| |
|
|
plantino
Joined: 13 May 2006 Posts: 96
|
| But u probably want selectNodes("//span[string-length(.) > 100]") |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| What is the standard MSXML that comes with IE6? |
| |
|
|
plantino
Joined: 13 May 2006 Posts: 96
|
Or something
3.0 |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| Oh cool, that's an xpath query? |
| |
|
|
plantino
Joined: 13 May 2006 Posts: 96
|
| Yup |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| I'm no expert at xpath |
| |
|
|
plantino
Joined: 13 May 2006 Posts: 96
|
| Its easy |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| Cool! thanks, that probably saved me a lot of time |
| |
|
|
|
|