/** * returns a map with attributes of an xml line. For example if [content] is `<Foo a="one" * b="two">` it returns [a:one b:two] Map. It only checks the first match in the content. */ public static Map<String, String> getAttributes(String content) { return getAttributes(content, ""); }