Re: xpath pattern matching
- From: richard@xxxxxxxxxxxxxxx (Richard Tobin)
- Date: 23 Nov 2005 23:49:51 GMT
In article <dm2ro2$c00$2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
malc <malc@xxxxxxxx> wrote:
>How do I do pattern matching with xpath?
>
>Say I want to match
>
><b> It is cold <b/>
Presumably you really have </b>, not <b/>
>I have tried match="htm:b[contains(text(),'is')
And presumably you have the missing ] at the end, and b is in the htm
namespace.
Then it should work. You'll have to give a complete example if you want
anyone to investigate further.
-- Richard
.
- References:
- xpath pattern matching
- From: malc
- xpath pattern matching
- Prev by Date: xpath pattern matching
- Next by Date: George: an XSLT application in C++ for Linux
- Previous by thread: xpath pattern matching
- Next by thread: George: an XSLT application in C++ for Linux
- Index(es):