XSLT filter nodes based on given node list
问题 This may have already be answered somewhere, but I do not have right words to search it : Lets say I have data file which has list of cities : <cities> <city abbr='A'>NameA</city> <city abbr='b'>NameB</city> </cities> The cities list is long and I want to filter the cities based on abbr [filter data] <skip> <abbr>A</abbr> <abbr>B</abbr> </skip> How could I use the this filter data(in xml form) to skip some nodes from original data file , specifically how I can use in for-each loop e.g <xsl