There is a contains function in xpath 1.0 as well

--snip from spec ----
Function: boolean contains(string, string) 

The contains function returns true if the first argument string contains
the second argument string, and otherwise returns false.

> > I'm not suggesting you copy Tamino extensions to xpath, but
> > FWIW theirs works quite well in practice.
> 
> That's the sort of thing I'm after I think. I'll have a 
> proper read of 
> the XPath 2.0 spec and come back with suggestions, thanks.

There is a contains function in xpath 1.0 as well, no need to think
about 2.0...

--snip from spec ----
Function: boolean contains(string, string) 

The contains function returns true if the first argument string contains
the second argument string, and otherwise returns false.
--snip from spec ----


> 
> -- 
> Andy Armstrong, Tagish
> 

Reply via email to