Todd- Thursday, February 9, 2006, 11:26:37 PM, you wrote: > revXMLMatchingNode(treeID,startNode,childName, > attributeName,attributeValue,depth) > But how do I get the next one? Try setting your startNode to the one you just got. -- -Mark Wieder mwieder at ahsoftware.net