Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!ncar!ico!auto-trol!marbru From: marbru@auto-trol.UUCP (Martin Brunecky) Newsgroups: comp.windows.x Subject: Re: WHITE PAPER: Using Xrm with Xt for a little more.... Message-ID: <855@auto-trol.UUCP> Date: 27 Sep 90 01:55:14 GMT References: <840@auto-trol.UUCP> <9009261352.AA09599@expire.lcs.mit.edu> Reply-To: marbru@auto-trol.UUCP (Martin Brunecky) Organization: Auto-trol Technology, Denver Lines: 36 In article <9009261352.AA09599@expire.lcs.mit.edu> rws@EXPO.LCS.MIT.EDU (Bob Scheifler) writes: > > The current Xrm interface does NOT provide a way to > querry what follows a particular name/class specification. > >I didn't really read the rest of your message. If there was a function >to enumerate the entries in a resource database that were valid completions >of a given resource prefix, would that satisfy you? I'm thinking the >function would take a procedure, and call it with every matching entry, >passing both lhs and value. More than you asked for, perhaps, but more >along the lines of something that's needed anyway. No, sorry. I need to be able to find that under aaa.bbb... there are aaa.bbb.ccc...: aaa.bbb.ddd...: Basically, I need to descend the tree, for the moment without even caring what the right side is - that may come later. I would be happy to have a function that if called with a specification of a node (aaa.bbb) would call my (provided) function for all descendants of (aaa.bbb...). Naturally, I'd probably use it recursively. The issue is not what are the values (rhs), but what (lhs) defines are in the database. -- =*= Opinions presented here are solely of my own and not those of Auto-trol =*= Martin Brunecky marbru@auto-trol.COM (303) 252-2499 {...}ncar!ico!auto-trol!marbru Auto-trol Technology Corp. 12500 North Washington St., Denver, CO 80241-2404