public Command getCommand(String name) {
        name = name.toLowerCase();
        Match match = rootElement.xpath("commands/command[@name='" + name + "']");
        if ( match.isEmpty() )
            return null;
        else
            return new Command(name, match.text() );
    }