[whatwg] getElementsByIdPart

On Monday 09 August 2004 15:57, you wrote:
> Ok Zack or any one else on the list can you provide me with an
> example?  I've search the .net and I cannot find an example using
> XPATH that can provide a list of DOM elements matching an attribute
> substring.

Expression like "//*[contains(@name,'hello')]" returns all elements 
where name attribute contains the string hello.

> Mind you I'm not saying that you cannot do that with an XML document.
>  You can but can you do this in an HTML DOM document?  

It's operating on a DOM tree either way, so it makes absolutely no 
difference.

Zack

-- 
Better to understand a little than to misunderstand a lot.

Received on Monday, 9 August 2004 14:08:47 UTC