Lines Matching refs:neighbor
60 <neighbor name="Austria" direction="E"/>
61 <neighbor name="Switzerland" direction="W"/>
67 <neighbor name="Malaysia" direction="N"/>
73 <neighbor name="Costa Rica" direction="W"/>
74 <neighbor name="Colombia" direction="E"/>
173 >>> for neighbor in root.iter('neighbor'):
174 ... print(neighbor.attrib)
230 <neighbor name="Austria" direction="E"/>
231 <neighbor name="Switzerland" direction="W"/>
237 <neighbor name="Malaysia" direction="N"/>
243 <neighbor name="Costa Rica" direction="W"/>
244 <neighbor name="Colombia" direction="E"/>
268 <neighbor name="Austria" direction="E"/>
269 <neighbor name="Switzerland" direction="W"/>
275 <neighbor name="Malaysia" direction="N"/>
389 # All 'neighbor' grand-children of 'country' children of the top-level
391 root.findall("./country/neighbor")
399 # All 'neighbor' nodes that are the second child of their parent
400 root.findall(".//neighbor[2]")