From: Greg B. <bar...@gm...> - 2010-04-19 01:48:12
|
Hi All, I have an element set (*$searchDocs*} with the following form: <doc> <ent type='{anyString}'/> *... n ent...* <ent type='{anyString}'/> <doc> I have an input sequence *$find*: <find type='{anyString}' count='{the # of a type in a doc}'/> ...* n find*... <find type='{anyString}' count='{the # of a type in a doc}'/> My goal is to filter the the <doc> element list for ones that have ALL of the <find> elements true. $searchDocs[ent[count(@type = $find[n]/@type) >= $find[n]/@count]] ... for each $find element (n) Any suggestion are most appreciated. -- Greg Bardwell bar...@gm... |