Why not use a DOM_TreeWalker, made using
DOM_Document::createTreeWalker(), and define your own custom
DOM_NodeFilter to do the test on the timestamp attribute for you. That,
or use a DOM_NodeIterator, which is similar.
John
Charlie Hart wrote:
>
> Every element has a date and time attribute. I want to get only the
> elements that have certain timestamps, say only those after 03/01/2001.
> How can I select based on attribute or do I have to get them all and
> then look at the attributes and select based on the criteria?
> thanks...charlie
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
John Snelson, Software Engineer DecisionSoft Ltd.
Telephone: +44-1865-203192 http://www.decisionsoft.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]