1 from xml.dom.minidom
import parse
2 from xml.parsers.expat
import ExpatError
12 self.
test = len(self.tree.getElementsByTagName(
'test')) > 0
18 for node
in self.tree.getElementsByTagName(
'node'):
19 s.add(str(node.getAttribute(
'pkg')))
20 return sorted(list(s))
24 for node
in self.tree.getElementsByTagName(
'include'):
25 el = node.getAttribute(
'file')
30 return sorted(list(s))
34 xml_str = self.tree.toxml()
35 for x
in re.finditer(
'\$\(find ([^\)]*)\)', xml_str):
38 for x
in re.finditer(
'rosrun\s+(\w+)\s', xml_str):
47 return sorted(list(d))
def get_include_pkgs(self)
def __init__(self, rel_fn, file_path)
def get_dependencies(self)