Lines Matching refs:neighbor
90 <neighbor name="Austria" direction="E"/>
91 <neighbor name="Switzerland" direction="W"/>
97 <neighbor name="Malaysia" direction="N"/>
103 <neighbor name="Costa Rica" direction="W"/>
104 <neighbor name="Colombia" direction="E"/>
150 >>> for neighbor in root.iter('neighbor'):
151 ... print neighbor.attrib
207 <neighbor name="Austria" direction="E"/>
208 <neighbor name="Switzerland" direction="W"/>
214 <neighbor name="Malaysia" direction="N"/>
220 <neighbor name="Costa Rica" direction="W"/>
221 <neighbor name="Colombia" direction="E"/>
245 <neighbor name="Austria" direction="E"/>
246 <neighbor name="Switzerland" direction="W"/>
252 <neighbor name="Malaysia" direction="N"/>
366 # All 'neighbor' grand-children of 'country' children of the top-level
368 root.findall("./country/neighbor")
376 # All 'neighbor' nodes that are the second child of their parent
377 root.findall(".//neighbor[2]")