I'd be interested if I could see how it would work.

Kevin


--- Jim Self <[EMAIL PROTECTED]> wrote:

> Gregory Woodhouse wrote:
> >Off hand, I can't think of an easy way to
> incorporate an XML
> >generator into the Export tool, or to iterate
> through a sort template
> >programmatically (with an appropriate hook to
> generate XML). Maybe
> >someone else will have some ideas.
> 
> Since a search template only lists entries from a
> single file in a single subscript level,
> a simple FOR loop should do it, or am I missing
> something here.
> 
>   f ien=0:0 s ien=^DIBT(template,1,ien)) q:'ien  d
> hook(ien)
> 
> and in a separate message:
> >What would be wonderful is a simple implementation
> of a generic iterator
> >based on a sort template that could then be
> associated with any
> >action we care to program (such as generating XML
> serialization of
> >file entries).
> 
> What do you think a generic iterator should look
> like?
> 
> How would you use it?
> 
> Why would that be wonderful?
> 
> I have tried to initiate discussion on this topic
> before but I don't know that anyone
> understood or was interested. To me it is an
> essential building block.
> 
> There is a simple generic iterator included with
> M2Web (see step^view2) that covers a
> large class of multi-level MUMPS global data
> structures, including most everything defined
> by Fileman - even including composite cross
> references.
> 
> I have been thinking of rewriting it to clean up the
> abstraction a little and make it more
> object like so that, for instance, you could
> maintain the state of multiple iterators in
> memory at once.
> 
> ---------------------------------------
> Jim Self
> Systems Architect, Lead Developer
> VMTH Computer Services, UC Davis
> (http://www.vmth.ucdavis.edu/us/jaself)
> 
> 
>
-------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies
> from IBM. Find simple to follow Roadmaps,
> straightforward articles,
> informative Webcasts and more! Get everything you
> need to get up to
> speed, fast.
>
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to