Re: get children using attributes

2001-03-28 Thread John Snelson
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

RE: get children using attributes

2001-03-28 Thread Erik Rydgren
he DOM_Document::createNodeIterator member function. Erik Rydgren Mandarinen systems AB, Sweden -Original Message- From: Charlie Hart [mailto:[EMAIL PROTECTED]] Sent: den 27 mars 2001 19:47 To: xerces forum Subject: get children using attributes Every element has a date and time attribute

get children using attributes

2001-03-27 Thread Charlie Hart
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