Hi group Here's a new thread for this question: In an XML Document, how do I show all teams that a specific member is part of? In other words, if I have: <teams> <team> <name>Ham</name> <desc>White papers, brochures, case studies.</desc> <member>Eduan</member> <member>Jacqui</member> </team> <team> <name>Green eggs</name> <desc>Green papers, brochures, case studies.</desc> <member>Tracey</member> <member>Jacqui</member> </team> </teams> how do I get: "Jacqui is member of the Ham and Green eggs teams." This code lists all the members nicely: <dtml-in "teams[0].getElementsByTagName('team')"> <dtml-in "objectValues('member')"> <dtml-var text_content><br> </dtml-in> </dtml-in> But I'd like to make a table with all the members down the left (occuring once only, and alphabetized), and all the teams each one belongs to, to their right. Is this rocket science? Eduan belongs to Ham Jacqui belongs to Ham, Green eggs Tracey belongs to Green eggs -- jean _______________________________________________ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )